[infinispan-issues] [JBoss JIRA] (ISPN-5091) BaseStoreTest.testPurgeExpired fails randomly

Jiří Holuša (JIRA) issues at jboss.org
Tue Dec 16 07:29:30 EST 2014


Jiří Holuša created ISPN-5091:
---------------------------------

             Summary: 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


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.




--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the infinispan-issues mailing list