Bug 921984
Summary: | org.infinispan.lucene.DirectoryOnMultipleCachesTest.verifyIntendedLockCachesUsage fails randomly | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Jitka Kozana <jkudrnac> |
Component: | Clustering | Assignee: | Tristan Tarrant <ttarrant> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0, 6.1.1 | CC: | amanukya, jdg-bugs, jkudrnac, myarboro, paul.ferraro, rjanik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Infinispan testsuite | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 918450 | Environment: | |
Last Closed: | 2013-09-03 06:25:56 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: | |||
Bug Depends On: | 918450 | ||
Bug Blocks: |
Description
Jitka Kozana
2013-03-15 10:59:44 UTC
Pedro Ruivo <pedroruivo2> made a comment on jira ISPN-2896 I think that bug is caused by the removeAsync when the value == 0. Simplify code: {code:java} int refCount = refCountObject.intValue(); newValue = refCount - 1; locksCache.replace(readLockKey, refCountObject, newValue); if (newValue == 0) { locksCache.withFlags(Flag.IGNORE_RETURN_VALUES).removeAsync(readLockKey); } {code} So, when the assertion is done, the value can be zero or one. In case of zero, we need to check if the key is really removed. Seen in 6.1.1.ER3 with Infinispan 5.2.7. https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Infinispan/job/eap-6x-infinispan-rhel-matrix/38/jdk=java17_default,label=RHEL6_x86_64/testReport/org.infinispan.lucene/DirectoryOnMultipleCachesTest/verifyIntendedLockCachesUsage/ Sanne Grinovero <sanne+jbossorg> updated the status of jira ISPN-2896 to Closed These issues are specific to the Infinispan testsuite, and either reside in modules that are not used in EAP, or pertain to use cases that are not supported in EAP. Setting resolution to WONTFIX. |