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:42:00 UTC

[jira] [Commented] (GEODE-3755) DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault fails intermittently

    [ https://issues.apache.org/jira/browse/GEODE-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193293#comment-16193293 ] 

Kirk Lund commented on GEODE-3755:
----------------------------------

This is the complete list of dunit infrastructure tests that will fail if a test using more than 4 dunit vms runs before it:
* BeforeClassExampleTest
* LocatorPortClusterExampleTest
* DistributedTestRuleTest
* SharedCountersRuleTest
* SharedErrorCollectorTest

> DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault fails intermittently
> ----------------------------------------------------------------------------
>
>                 Key: GEODE-3755
>                 URL: https://issues.apache.org/jira/browse/GEODE-3755
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>
> DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault fails intermittently with:
> {noformat}
> org.apache.geode.test.dunit.rules.tests.DistributedTestRuleTest > 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.rules.tests.DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault(DistributedTestRuleTest.java:35)
> {noformat}
> This occurs anytime DistributedTestRuleTest 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)