Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix flaky SlidingBloomReplayCacheTest.cpp
SlidingBloomReplayCacheTest.cpp test was flaky, looks like the expiry can happen at exactly 1 second, moving to 1001 milliseconds fixed it. Updated associated comments to remove the time periods as was duplicative of the chrono call just below the comments Test Plan: Run locally ``` ./build/fbcode_builder/getdeps.py build --src-dir=. fizz ./build/fbcode_builder/getdeps.py test --src-dir=. fizz ``` before, fails with: ``` [==========] 5 tests from 1 test suite ran. (1115 ms total) [ PASSED ] 4 tests. [ FAILED ] 1 test, listed below: [ FAILED ] SlidingBloomReplayCacheTest.TestTimeBucketing 1 FAILED TEST ``` after, passes with: ``` 100% tests passed, 0 tests failed out of 68 Total Test time (real) = 1.07 sec ```
- Loading branch information