geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-367) MemoryThresholdsOffHeapDUnitTest.testLRLoadRejection fails intermittently with "verify critical state"
Date Tue, 27 Oct 2015 00:14:27 GMT

    [ https://issues.apache.org/jira/browse/GEODE-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975403#comment-14975403
] 

Darrel Schneider commented on GEODE-367:
----------------------------------------

looks much the same as GEODE-438 but has its own copy of the same problematic test code.


> 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
>
> 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)

Mime
View raw message