Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
testClearOnNonReplicateWithConcurrentEvents in DistributedAckRegionCCEDUnitTest.java
versionTestClearOnNonReplicateWithConcurrentEvents in MultiVMRegionTestCase.java
doOpsLoop
doOpsLoopNoFlush
case 5: if (includeClear) { CCRegion.clear(); break; } else { if (CCRegion.getAttributes().getDataPolicy().withReplication()) { if (oldkey != null) { CCRegion.putIfAbsent(oldkey, value); } break; } // else fall through to invalidate }
the addition of this chunk of code causes this test to fail.
The core of the problem is that a putall and a clear are happening concurrently and the "system" does not respond by either clearing all entries or letting all entries persist.