Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37165: raftentry: deflake TestConcurrentUpdates r=ajwerner a=ajwerner I spent way too long looking at this concerned that it was a correctness bug before I remembered that the gauges are updated with a snapshot of the cache state but the writes are not totally ordered and thus can become out of sync in the face of concurrent updates. Later updates will update to later values. This isn't a correctness problem, just an artifact of the design of the metrics which the test relied on. This PR adds logic to sync the gauges before verifying their state which deflakes the test when run under stress. Fixes #37111. Release note: None Co-authored-by: Andrew Werner <[email protected]>
- Loading branch information