Skip to content

fix TestTransportMultiplexAcceptNonBlocking - #1946

Closed
faddat wants to merge 3 commits into
cometbft:mainfrom
faddat:faddat/fix-testtransportmultiplexacceptnonblocking
Closed

faddat wants to merge 3 commits into
cometbft:mainfrom
faddat:faddat/fix-testtransportmultiplexacceptnonblocking

Conversation

@faddat

@faddat faddat commented Jan 2, 2024 •

Copy link
Copy Markdown
Contributor

This PR fixes TestTransportMultiplexAcceptNonBlocking which accounts for about 25% of "flaky test" test failures.

Please check it carefully, since there's a small amount of guesswork involved, but I do think I got it.

closes: #1914


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@faddat
faddat requested a review from a team as a code owner January 2, 2024 18:29
@faddat
faddat requested a review from a team January 2, 2024 18:29

@melekes melekes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @faddat ❤️

@faddat

faddat commented Jan 3, 2024 •

Copy link
Copy Markdown
Contributor Author

@melekes - so it seems to me that this substntially reduces failure, but doesn't stop the flakiness.

With this, and others here, I'm not 100% certain that there aren't issues in the code under test, in particular p2p code.

So what I think I am going to do (I think it might make sense to merge this but keep the issue open?) is run the tests a few hunderd more times, and mark down the ones that fail and go deeper. I'll then go back and do that for 37 and 38

@faddat

faddat commented Jan 3, 2024

Copy link
Copy Markdown
Contributor Author

@faddat

faddat commented Jan 4, 2024

Copy link
Copy Markdown
Contributor Author

Closing in favor of #1954

@faddat faddat closed this Jan 4, 2024
@faddat faddat mentioned this pull request Feb 10, 2024
4 tasks
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.

TestTransportMultiplexAcceptNonBlocking is flaky

2 participants