-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: try to deflake several flaky tests (#934)
## Which problem is this PR solving? We've had some problematic flaky tests. * Some were because of probabalistic assertions relating to samplers -- we now run the worst of those a second time if they fail. * Some were waiting for events on another goroutine that might not have been scheduled, and these have been adjusted by using `assert.Eventually` which is actually pretty useful. Fixes #896 Fixes #897 Fixes #901 Fixes #902 Plus a couple of other tests that hadn't gotten their own issue. This might also make the tests run a little bit faster overall. You might want to turn off whitespace when reviewing this, because the retry loop changed indentation.
- Loading branch information
Showing
4 changed files
with
205 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.