You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/10/05 17:31:00 UTC

[jira] [Created] (GEODE-3756) BeforeClassExampleTest.shouldHaveFourDUnitVMsByDefault fails intermittently

Kirk Lund created GEODE-3756:
--------------------------------

             Summary: BeforeClassExampleTest.shouldHaveFourDUnitVMsByDefault fails intermittently
                 Key: GEODE-3756
                 URL: https://issues.apache.org/jira/browse/GEODE-3756
             Project: Geode
          Issue Type: Bug
          Components: tests
            Reporter: Kirk Lund


BeforeClassExampleTest.shouldHaveFourDUnitVMsByDefault fails intermittently with:
{noformat}
org.apache.geode.test.dunit.examples.BeforeClassExampleTest > shouldHaveFourDUnitVMsByDefault FAILED
    org.junit.ComparisonFailure: expected:<[4]> but was:<[5]>
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at org.apache.geode.test.dunit.examples.BeforeClassExampleTest.shouldHaveFourDUnitVMsByDefault(BeforeClassExampleTest.java:37)
{noformat}
This occurs anytime BeforeClassExampleTest executes after one of the other dunit tests in geode-core that uses more than the default 4 dunit VMs. These include:
* LocatorDUnitTest.testMultipleLocatorsRestartingAtSameTime() <- uses 5 VMs in addition to controller & locator
* LocatorDUnitTest.testMultipleLocatorsRestartingAtSameTimeWithMissingServers() <- uses 5 VMs in addition to controller & locator
* PreferSerializedHARegionQueueTest.copyingHARegionQueueShouldNotThrowException() <- uses 7 VMs in addition to controller & locator



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)