You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add clock trait to the code and modify CreationTimeBasedIndexCache to use the clock with System time by default. Tests cases under IndexCacheTest should be modified to not use Thread.sleep.
To Reproduce
NA
Expected behavior
CreationTimeBasedIndexCache should be modified to use a clock.
Thread.sleep usage should be removed from index cache test cases.
Environment
The text was updated successfully, but these errors were encountered:
Describe the issue
Add clock trait to the code and modify
CreationTimeBasedIndexCache
to use the clock with System time by default. Tests cases underIndexCacheTest
should be modified to not useThread.sleep
.To Reproduce
NA
Expected behavior
CreationTimeBasedIndexCache
should be modified to use a clock.Thread.sleep
usage should be removed from index cache test cases.Environment
The text was updated successfully, but these errors were encountered: