don't use quic in the test
This commit is contained in:
parent
a5f21e69ad
commit
70d811c47a
@ -5,7 +5,6 @@ import (
|
||||
|
||||
"github.com/micro/go-micro/network/link"
|
||||
"github.com/micro/go-micro/transport"
|
||||
"github.com/micro/go-micro/transport/quic"
|
||||
)
|
||||
|
||||
// testAccept will accept connections on the transport, create a new link and tunnel on top
|
||||
@ -61,7 +60,6 @@ func testSend(t *testing.T, addr string) {
|
||||
// create a new link
|
||||
l := link.NewLink(
|
||||
link.Address(addr),
|
||||
link.Transport(quic.NewTransport()),
|
||||
)
|
||||
|
||||
// connect the link, this includes dialing
|
||||
@ -95,7 +93,7 @@ func testSend(t *testing.T, addr string) {
|
||||
|
||||
func TestTunnel(t *testing.T) {
|
||||
// create a new listener
|
||||
tr := quic.NewTransport()
|
||||
tr := transport.NewTransport()
|
||||
l, err := tr.Listen(":0")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user