Darrel Schneider created GEODE-602:
--------------------------------------
Summary: 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
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)