Commit be1cff2
fix flaky test EvictToNvmExpired and ReadFromNvmExpired
Summary:
The NvmCacheTest EvictToNvmExpired and ReadFromNvmExpired are relying on the TTL. However, the
reaper is enabled by default, the test could fail if it races with the reaper whose default interval
is the same as 5s https://fburl.com/testinfra/dyr5ovwn
Reviewed By: therealgymmy
Differential Revision: D49751136
fbshipit-source-id: bc388eabd68b144b40336744e4114d4e1bbdefb61 parent 623e519 commit be1cff2
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| |||
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
297 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
298 | 304 | | |
299 | 305 | | |
300 | 306 | | |
| |||
0 commit comments