Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The TestRouteText class includes a testPatternCache method that exhibits intermittent failures when checking the expected maximum cache size.
TestRouteText.testPatternCache:788 Expected 1024 elements in the cache for the patterns, got1025 expected:<1024> but was:<1025>
Recent changes to refactor usage of Google Guava included changing the cache implementation to use Caffeine. The Caffeine Guava migration documentation indicates that Caffeine uses a slightly different approach to eviction, waiting until the size exceeds the threshold. The test should be adjusted to avoid intermittent failures.
Attachments
Issue Links
- links to