[
https://issues.apache.org/jira/browse/GEODE-8659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221800#comment-17221800
]
Bruce J Schuchardt commented on GEODE-8659:
-------------------------------------------
*state.joinedMembersContacted* is only incremented in
*findCoordinatorFromView*, which isn't going to be used in this scenario, so I
think Dan is right that we should also be checking
*state.hasContactedAJoinedLocator*.
It's still possible that locator A will contact locator B before B sets this
boolean in GMSLocator. The change Dan made to stop waiting when all locators
have been contacted is now making Locator A decide to create its own cluster in
this case. Prior to those changes we always waited longer and retried.
> MembershipIntegrationTest.secondMembershipPausesForLocatorWaitTime fails with
> ConditionTimeoutException
> -------------------------------------------------------------------------------------------------------
>
> Key: GEODE-8659
> URL: https://issues.apache.org/jira/browse/GEODE-8659
> Project: Geode
> Issue Type: Bug
> Components: membership, tests
> Reporter: Kirk Lund
> Priority: Major
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Test Results URI
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-5667/test-results/integrationTest/1603735181/
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Test report artifacts from this job are available at:
> http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-5667/test-artifacts/1603735181/integrationtestfiles-geode-pr-5667.tgz
> {noformat}
> org.apache.geode.distributed.internal.membership.gms.MembershipIntegrationTest
> > secondMembershipPausesForLocatorWaitTime FAILED
> org.awaitility.core.ConditionTimeoutException: Assertion condition
> defined as a lambda expression in
> org.apache.geode.distributed.internal.membership.gms.MembershipIntegrationTest
> that uses org.apache.geode.distributed.internal.membership.api.Membership
> Expected size:<2> but was:<1> in:
> <[172.17.0.34(1:locator)<ec><v0>:41003]> within 5 minutes.
> at
> org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
> at
> org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
> at
> org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:679)
> at
> org.apache.geode.distributed.internal.membership.gms.MembershipIntegrationTest.secondMembershipPausesForLocatorWaitTime(MembershipIntegrationTest.java:270)
> Caused by:
> java.lang.AssertionError:
> Expected size:<2> but was:<1> in:
> <[172.17.0.34(1:locator)<ec><v0>:41003]>
> at
> org.apache.geode.distributed.internal.membership.gms.MembershipIntegrationTest.lambda$secondMembershipPausesForLocatorWaitTime$8(MembershipIntegrationTest.java:271)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)