-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
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
update go-libp2p to v0.22.0 #498
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are failing...
@vyzo Can you have a look please? I'm not familiar with this code base, might be probably a problem in test case itself. |
it panics with a stream reset, and this used to work fine before -- so some regression in libp2p? |
note that the tests use blankhost, maybe something broke there? |
b53b37d
to
5b158cb
Compare
Fix here: libp2p/go-libp2p#1720 I don't think this is a regression. The issue was that connmanager was trimming connections. I'm actually surprised this test ever passed. The fix is to use a mock clock for both the decayer and the connmanager. Otherwise the connmanager cleanup goroutine will kick before we expect it to. I think we could backport libp2p/go-libp2p#1720 into v0.22.1 and use that here or we can disable this test with a TODO in our release checklist for v0.23 to re-enable it along with some context. |
I am fine with temporarily disabling this. |
* update go-libp2p to v0.22.0 * skip TestGossipsubConnTagMessageDeliveries
Depends on libp2p/go-libp2p-testing#66.