-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Reduce flakiness of state sync system tests (#3672)
This commit fixes a condition that can lead to flakiness in the state sync system tests. The test relies on a metric of the number of successful state syncs. However, there appears to be a race condition of when the changed metric can be observed. At the same time, in this test it only takes a very short amount of time between the end of state sync and the subnet being no longer stalled. This race condition confused the test. Now, the test waits for the metric to increase instead of asserting on the first try.
- Loading branch information
1 parent
d128e24
commit cf78072
Showing
1 changed file
with
43 additions
and
41 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