Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1174745

Summary: BaseStoreTest.testPurgeExpired fails randomly
Product: [JBoss] JBoss Data Grid 6 Reporter: Jiri Holusa <jholusa>
Component: TestSuiteAssignee: Martin Gencur <mgencur>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: jdg-bugs, ttarrant
Target Milestone: ER8   
Target Release: 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:43:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Holusa 2014-12-16 12:18:31 UTC
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.

PR almost finished, sending soon.

Comment 2 Jiri Holusa 2014-12-16 12:24:00 UTC
PR for jdg-6.4.x branch: https://github.com/infinispan/jdg/pull/397

Comment 3 JBoss JIRA Server 2015-01-05 09:11:32 UTC
Galder ZamarreƱo <galder.zamarreno> updated the status of jira ISPN-5091 to Resolved

Comment 5 Red Hat Bugzilla 2025-02-10 03:43:46 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.