Skip to content

search: fix TestCachedSearcher flakiness

Administrator requested to merge k/flakey-test into main

Created by: keegancsmith

We had a ttl of 1 second in the test. However, we did a jitter sleep of 5s. This meant depending on the jitter, the test would fail. Note: we don't actually sleep for 30s now, we mock time.

Merge request reports

Loading