Github user nickwallen commented on the issue:
https://github.com/apache/metron/pull/1015
Ok, now its really working.
The second problem was that there is some variability in which items get
expired from the cache according to the LRU algorithm. In about 1/250 runs the
algorithm would not choose the expected item to expire. I imagine this is only
a problem when running at such small scale with a cache size of 2.
I updated the test case so that it looks into the cache to determine
whether a hit should occur or not. The test passes, but I am not sure if the
test is really useful.
---