Skip to content

Commit

Permalink
Fix for intermittent ReadWriteBackingMapTests.putWithWriteBatchFactor…
Browse files Browse the repository at this point in the history
…Zero failure

[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 110741]
  • Loading branch information
aseovic committed Aug 21, 2024
1 parent 0e2e12b commit 34e1f0c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,10 @@ private void putWithWriteBatchFactorZero(String sCacheName)

definiteSleep(cMillis + 0xFFL);
assertEquals("write did not occur.", map.size(), 3);
verifyStoreStats("putWithWriteBatchFactorZero-" + sCacheName, store, 0, 1, 0, 0, 1, 0);
// we expect to see either 3 individual store calls, or 1 store and 1 storeAll call
verifyStoreStats("putWithWriteBatchFactorZero-" + sCacheName, store,
equal("store", 1).and(equal("storeAll", 1))
.or(equal("store", 3).and(equal("storeAll", 0))));
}
finally
{
Expand Down

0 comments on commit 34e1f0c

Please sign in to comment.