Skip to content
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

Merged
merged 2 commits into from
Aug 26, 2022
Merged

update go-libp2p to v0.22.0 #498

merged 2 commits into from
Aug 26, 2022

Conversation

marten-seemann
Copy link
Contributor

Copy link
Collaborator

@vyzo vyzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests are failing...

@marten-seemann
Copy link
Contributor Author

@vyzo Can you have a look please? I'm not familiar with this code base, might be probably a problem in test case itself.

@vyzo
Copy link
Collaborator

vyzo commented Aug 19, 2022

it panics with a stream reset, and this used to work fine before -- so some regression in libp2p?

@vyzo
Copy link
Collaborator

vyzo commented Aug 19, 2022

note that the tests use blankhost, maybe something broke there?

@MarcoPolo
Copy link
Contributor

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.

@vyzo
Copy link
Collaborator

vyzo commented Aug 26, 2022

I am fine with temporarily disabling this.

@marten-seemann marten-seemann marked this pull request as ready for review August 26, 2022 09:45
@marten-seemann marten-seemann merged commit 4f56e8f into master Aug 26, 2022
@MarcoPolo MarcoPolo mentioned this pull request Aug 26, 2022
21 tasks
lthibault pushed a commit to lthibault/go-libp2p-pubsub that referenced this pull request Nov 5, 2022
* update go-libp2p to v0.22.0

* skip TestGossipsubConnTagMessageDeliveries
@Stebalien Stebalien deleted the update-libp2p branch August 6, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants