[
https://issues.apache.org/jira/browse/GEODE-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778641#comment-16778641
]
Bruce Schuchardt commented on GEODE-6421:
-----------------------------------------
The logs of the above run show that this is a test problem. The new membership
view was still being processed
{noformat}
[vm1] [info 2019/02/26 01:35:19.980 UTC <unicast receiver,490439f5ed16-54787>
tid=0x2b6] received new view: View[490439f5ed16(250:locator)<ec><v0>:41001|1]
members: [490439f5ed16(250:locator)<ec><v0>:41001,
490439f5ed16(245:locator)<ec><v1>:41002]
{noformat}
But the test asserts that it's been processed as soon as the async threads
creating the locators return. It needs an await() in the test.
> CI failure:
> org.apache.geode.distributed.LocatorDUnitTest.testStartTwoLocators failed
> with AssertionError
> ---------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6421
> URL: https://issues.apache.org/jira/browse/GEODE-6421
> Project: Geode
> Issue Type: Bug
> Reporter: Lynn Gallinat
> Priority: Major
> Fix For: 1.9.0
>
>
> org.apache.geode.distributed.LocatorDUnitTest > testStartTwoLocators FAILED
> org.apache.geode.test.dunit.RMIException: While invoking
> org.apache.geode.test.dunit.NamedRunnable.run in VM 2 running on Host
> f44e8e23cdaf with 6 VMs
> at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:393)
> at
> org.apache.geode.distributed.LocatorDUnitTest.startVerifyAndStopLocator(LocatorDUnitTest.java:1799)
> at
> org.apache.geode.distributed.LocatorDUnitTest.testStartTwoLocators(LocatorDUnitTest.java:317)
> Caused by:
> java.lang.AssertionError: expected:<2> but was:<1>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:645)
> at org.junit.Assert.assertEquals(Assert.java:631)
> at
> org.apache.geode.distributed.LocatorDUnitTest.expectSystemToContainThisManyMembers(LocatorDUnitTest.java:139)
> at
> org.apache.geode.distributed.LocatorDUnitTest.lambda$startVerifyAndStopLocator$2ba733bc$1(LocatorDUnitTest.java:1800)
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/DistributedTestOpenJDK8/builds/405
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)