diff --git a/p2p/transport/websocket/browser_integration_native_test.go b/p2p/transport/websocket/browser_integration_native_test.go index fa940b5c5..01486142b 100644 --- a/p2p/transport/websocket/browser_integration_native_test.go +++ b/p2p/transport/websocket/browser_integration_native_test.go @@ -4,6 +4,7 @@ package websocket import ( "bufio" + "context" "os" "os/exec" "path/filepath" @@ -68,7 +69,7 @@ func TestInBrowser(t *testing.T) { t.Fatal("SERVER:", err) } defer conn.Close() - stream, err := conn.OpenStream() + stream, err := conn.OpenStream(context.Background()) if err != nil { t.Fatal("SERVER: could not open stream:", err) } diff --git a/p2p/transport/websocket/websocket_test.go b/p2p/transport/websocket/websocket_test.go index bada34523..aa51b7432 100644 --- a/p2p/transport/websocket/websocket_test.go +++ b/p2p/transport/websocket/websocket_test.go @@ -42,6 +42,7 @@ func TestCanDial(t *testing.T) { } func TestWebsocketTransport(t *testing.T) { + t.Skip("This test is failing, see https://github.com/libp2p/go-ws-transport/issues/99") ta := New(&tptu.Upgrader{ Secure: insecure.New("peerA"), Muxer: new(mplex.Transport),