We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestGetFailures sometimes fails. When running tests with -race it's very easy to trigger the failure.
TestGetFailures
go-libp2p-kad-dht/ext_test.go
Line 21 in ef31967
=== RUN TestGetFailures panic: io: read/write on closed pipe goroutine 274 [running]: github.com/libp2p/go-libp2p-kad-dht.TestGetFailures.func2(0x102e820, 0xc000004460) C:/Users/adin/go/src/github.com/libp2p/go-libp2p-kad-dht/ext_test.go:72 +0x 48f github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).SetStreamHandler.func1(0xc0 00018150, 0xf, 0x5900030, 0xc000004460, 0xf, 0xc000054220) C:/Users/adin/go/pkg/mod/github.com/libp2p/go-libp2p@v0.4.2/p2p/host/basic/ basic_host.go:393 +0xbc created by github.com/libp2p/go-libp2p/p2p/host/basic.(*BasicHost).newStreamHandler C:/Users/adin/go/pkg/mod/github.com/libp2p/go-libp2p@v0.4.2/p2p/host/basic/ basic_host.go:291 +0x873 exit status 2
The tests fails occur at
Lines 71 to 72 in ef31967
The text was updated successfully, but these errors were encountered:
Discussed in person. Conclusion: ignore the error.
Sorry, something went wrong.
fix(test): don't panic on read/write error
61bbd2e
The querying node _is_ allowed to reset and go away. fixes #431
796812b
d520a1e
No branches or pull requests
TestGetFailures
sometimes fails. When running tests with -race it's very easy to trigger the failure.go-libp2p-kad-dht/ext_test.go
Line 21 in ef31967
The tests fails occur at
go-libp2p-kad-dht/ext_test.go
Lines 71 to 72 in ef31967
The text was updated successfully, but these errors were encountered: