You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2016/02/08 23:41:40 UTC

[jira] [Assigned] (GEODE-602) CI failure: OutOfOffHeapMemoryDUnitTest.testSimpleOutOfOffHeapMemoryMemberDisconnects

     [ https://issues.apache.org/jira/browse/GEODE-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swapnil Bawaskar reassigned GEODE-602:
--------------------------------------

    Assignee: Swapnil Bawaskar

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