]
Galder Zamarreño resolved ISPN-5091.
------------------------------------
Fix Version/s: 7.1.0.Beta1
Resolution: Done
BaseStoreTest.testPurgeExpired fails randomly
---------------------------------------------
Key: ISPN-5091
URL:
https://issues.jboss.org/browse/ISPN-5091
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 7.1.0.Alpha1
Reporter: Jiří Holuša
Assignee: Jiří Holuša
Fix For: 7.1.0.Beta1
On some DB (like DB2, Oracle11gR1, ...) BaseStoreTest.testPurgeExpired sometimes fails on
assertion error.
Investigated and found out that these stores don't insert all the entries in time
before lifespan runs out and after that, there's a "contains" check which
fails.
Resolution is to move the "contains" checking right after insertion and adjust
slightly the lifespan and idle values, so the cache store can manage to insert entry in
time. The goal is to stabilize the testsuite.