Commit 8a41491
authored
Fix flaky test by freezing time before increment operation (#57905)
This prevents timing race conditions where time can advance between
when the cache value is incremented (which records a timestamp) and
when subsequent time-based checks occur, causing intermittent test failures.1 parent 49c39b6 commit 8a41491
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
0 commit comments