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

identify: fix flaky tests #1515

Merged
merged 5 commits into from
May 24, 2022
Merged

identify: fix flaky tests #1515

merged 5 commits into from
May 24, 2022

Conversation

MarcoPolo
Copy link
Collaborator

@MarcoPolo MarcoPolo commented May 20, 2022

Fixes #1497 by removing the sleeps/waits. In general, sleeps will cause flakiness in CI so anyway we can completely avoid them will let our tests be more resilient to exogenous performance impacts.

This doesn't remove all the sleeps in this file. But if this looks good I can remove the other cases as well.

@MarcoPolo
Copy link
Collaborator Author

@marten-seemann instrumented multiplexer is removed from this PR

p2p/protocol/identify/id_test.go Outdated Show resolved Hide resolved
p2p/protocol/identify/id_test.go Outdated Show resolved Hide resolved
@marten-seemann marten-seemann changed the title Fix flaky tests in Identify identify: fix flaky tests May 24, 2022
@marten-seemann marten-seemann merged commit df1ee9a into master May 24, 2022
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.

flaky TestIdentifyDeltaOnProtocolChange
2 participants