geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3755) DistributedTestRuleTest.shouldHaveFourDUnitVMsByDefault fails intermittently
Date Fri, 06 Oct 2017 16:23:00 GMT

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

ASF subversion and git services commented on GEODE-3755:
--------------------------------------------------------

Commit 0d5baab03c0adcb0e7f24fafbf03d29847aaa22c in geode's branch refs/heads/develop from
[~apache@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0d5baab ]

GEODE-3755: make resilient to variable number of dunit VMs

* use getVMCount instead of 4


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

Mime
View raw message