Skip to content

Commit

Permalink
fix(websocket): re-enable websocket transport test (#2987)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann authored Oct 1, 2024
1 parent 005f9b6 commit 5773e76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions p2p/transport/websocket/websocket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ func TestDialWssNoClientCert(t *testing.T) {
}

func TestWebsocketTransport(t *testing.T) {
t.Skip("This test is failing, see https://github.com/libp2p/go-ws-transport/issues/99")
_, ua := newUpgrader(t)
peerA, ua := newUpgrader(t)
ta, err := New(ua, nil)
if err != nil {
t.Fatal(err)
Expand All @@ -305,7 +304,7 @@ func TestWebsocketTransport(t *testing.T) {
t.Fatal(err)
}

ttransport.SubtestTransport(t, ta, tb, "/ip4/127.0.0.1/tcp/0/ws", "peerA")
ttransport.SubtestTransport(t, ta, tb, "/ip4/127.0.0.1/tcp/0/ws", peerA)
}

func isWSS(addr ma.Multiaddr) bool {
Expand Down

0 comments on commit 5773e76

Please sign in to comment.