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

fix: flacky unit test #1248

Merged
merged 3 commits into from
Sep 3, 2021
Merged

Conversation

baptiste-b-pegasys
Copy link
Contributor

  1. wait group add should be outside the go routine
  2. it's not possible to have a event that the message has just been handled, so the test may happen too soon.

Baptiste Boussemart added 2 commits September 2, 2021 17:31
wait group outside the go routine
retry loop for test that depends on non-triggered state
@ricardolyn ricardolyn changed the base branch from flacky to master September 3, 2021 09:00
@ricardolyn ricardolyn enabled auto-merge (squash) September 3, 2021 09:01
@ricardolyn ricardolyn merged commit 15fcead into Consensys:master Sep 3, 2021
@baptiste-b-pegasys baptiste-b-pegasys deleted the flacky branch September 3, 2021 12:57
danielporto pushed a commit to danielporto/quorum that referenced this pull request Sep 7, 2021
* fix: flacky unit test
wait group outside the go routine
retry loop for test that depends on non-triggered state

* fix: review

Co-authored-by: Ricardo Silva <[email protected]>
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.

2 participants