This repository was archived by the owner on Nov 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
transport tests failing #37
Copy link
Copy link
Open
Labels
exp/intermediatePrior experience is likely helpfulPrior experience is likely helpfulhelp wantedSeeking public contribution on this issueSeeking public contribution on this issue
Description
When updating go-libp2p-testing, the transport tests fail:
go-libp2p-webrtc-direct/webrtcdirect_test.go
Lines 14 to 29 in 0a5a6f1
| func TestTransport(t *testing.T) { | |
| logging.SetLogLevel("*", "warning") | |
| ta := NewTransport( | |
| webrtc.Configuration{}, | |
| new(mplex.Transport), | |
| ) | |
| tb := NewTransport( | |
| webrtc.Configuration{}, | |
| new(mplex.Transport), | |
| ) | |
| addr := "/ip4/127.0.0.1/tcp/0/http/p2p-webrtc-direct" | |
| utils.SubtestTransport(t, ta, tb, addr, "peerA") | |
| } |
=== RUN TestTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn1Stream100Msg
panic: Fail in goroutine after TestTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStress1Conn1Stream1Msg has completed
goroutine 533 [running]:
testing.(*common).Fail(0xc000357680)
/usr/local/Cellar/go/1.15.5/libexec/src/testing/testing.go:688 +0x125
testing.(*common).Error(0xc000357680, 0xc0004d0f98, 0x1, 0x1)
/usr/local/Cellar/go/1.15.5/libexec/src/testing/testing.go:788 +0x78
github.com/libp2p/go-libp2p-testing/suites/transport.echoStream(0xc000357680, 0x18c05e0, 0xc00047a0d0)
/Users/marten/src/go/pkg/mod/github.com/libp2p/go-libp2p-testing@v0.3.0/suites/transport/stream_suite.go:109 +0x26d
created by github.com/libp2p/go-libp2p-testing/suites/transport.goServe.func1.1
/Users/marten/src/go/pkg/mod/github.com/libp2p/go-libp2p-testing@v0.3.0/suites/transport/stream_suite.go:145 +0x4b
exit status 2
Metadata
Metadata
Assignees
Labels
exp/intermediatePrior experience is likely helpfulPrior experience is likely helpfulhelp wantedSeeking public contribution on this issueSeeking public contribution on this issue