You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:58:10 UTC
[jira] [Closed] (GEODE-3756)
BeforeClassExampleTest.shouldHaveFourDUnitVMsByDefault fails intermittently
[ https://issues.apache.org/jira/browse/GEODE-3756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-3756.
--------------------------------
> 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
> Assignee: Kirk Lund
> Priority: Major
>
> 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
(v7.6.3#76005)