forked from antrea-io/antrea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky TestClean unit tests for storagebundle REST server (antrea-…
…io#5065) The test was using a Sleep statement, which was actually too short for some CI machines, causing flakes. Instead we use a virtual clock for the test, which means that the test runtime is no longer dependent on the "duration" parameter for the `clean` function. We also use polling to validate assertions. Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
f82372f
commit 6308883
Showing
2 changed files
with
28 additions
and
9 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