[
https://issues.apache.org/jira/browse/GEODE-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139299#comment-15139299
]
ASF subversion and git services commented on GEODE-602:
-------------------------------------------------------
Commit 7bb0819cd802d2646d10c7e826b6000bd82a0b4d in incubator-geode's branch
refs/heads/develop from [~swapnil.bawaskar]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=7bb0819 ]
GEODE-602: CI failure:
OutOfOffHeapMemoryDUnitTest.testSimpleOutOfOffHeapMemoryMemberDisconnects
Adding InternalDistributedSystem.getAnyInstance() to await() condition that
waits for 30 seconds.
Also replaced all other waitCriteria() with Avaitility in this test suite.
> CI failure:
> OutOfOffHeapMemoryDUnitTest.testSimpleOutOfOffHeapMemoryMemberDisconnects
> -------------------------------------------------------------------------------------
>
> Key: GEODE-602
> URL: https://issues.apache.org/jira/browse/GEODE-602
> Project: Geode
> Issue Type: Bug
> Components: tests
> Reporter: Darrel Schneider
> Assignee: Swapnil Bawaskar
> Priority: Minor
> Labels: ci
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> junit.framework.AssertionFailedError: Expected: <null> but was: Connected
> (id=1727e652) to distributed system using locators "localhost[27595]" logging
> to standard out started at Tue Nov 24 03:02:51 UTC 2015 (closed)
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.Assert.assertNull(Assert.java:277)
> at junit.framework.Assert.assertNull(Assert.java:268)
> at junit.framework.TestCase.assertNull(TestCase.java:438)
> at
> com.gemstone.gemfire.internal.offheap.OutOfOffHeapMemoryDUnitTest.testSimpleOutOfOffHeapMemoryMemberDisconnects(OutOfOffHeapMemoryDUnitTest.java:210)
> I think this is just a race in the test. Its last assertion:
> assertNull(InternalDistributedSystem.getAnyInstance());
> is failing intermittently. I think it just needs to wait for getAnyInstance
> to return null with a WaitCriterion. This test does this for
> GemFireCacheImpl.getInstance(). It needs to also do it for
> InternalDistributedSystem.getAnyInstance().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)