-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TranslogTests#testStats (#85828)
Today these tests assume that the last-modified time on the translog file is at least one millisecond before the time at which stats are computed, but this isn't always true. With this commit we add a (bounded) wait for the clock to advance beyond the file's last-modified time to ensure that we observe a nonzero age. Closes #85717
- Loading branch information
1 parent
750bb1e
commit 3b81473
Showing
1 changed file
with
13 additions
and
3 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