[
https://issues.apache.org/jira/browse/GEODE-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Baker updated GEODE-367:
--------------------------------
Fix Version/s: 1.0.0-alpha1
> MemoryThresholdsOffHeapDUnitTest.testLRLoadRejection fails intermittently
> with "verify critical state"
> ------------------------------------------------------------------------------------------------------
>
> Key: GEODE-367
> URL: https://issues.apache.org/jira/browse/GEODE-367
> Project: Geode
> Issue Type: Bug
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Labels: CI
> Fix For: 1.0.0-alpha1
>
>
> Failed in a private build of git rev 4708d4e182f89c6a391fcad8bac854f929717685:
> {code}
> at
> com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest.testLRLoadRejection(MemoryThresholdsOffHeapDUnitTest.java:1153)
> [snip]
> Caused by: junit.framework.AssertionFailedError: Event never occurred after
> 3000 ms: verify critical state
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at
> dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1162)
> at
> com.gemstone.gemfire.cache.management.MemoryThresholdsOffHeapDUnitTest$37.run2(MemoryThresholdsOffHeapDUnitTest.java:1198)
> {code}
> This is the wait criteria that failed:
> r.put("oh1", new byte[838860]);
> r.put("oh3", new byte[157287]);
> getCache().getLoggerI18n().fine(removeExpectedExString);
> WaitCriterion wc = new WaitCriterion() {
> public String description() {
> return "verify critical state";
> }
> public boolean done() {
> return r.memoryThresholdReached.get();
> }
> };
> waitForCriterion(wc, 3000, 100, true);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)