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

Juan José Ramos Cassella commented on GEODE-7005:
-------------------------------------------------

There's a race condition within the test.
We search for a daemon thread with *ID* {{LocatorsDistributorThread}} and wait 
until it finishes to start the assertions, but the thread might have not 
started yet at the time we search for it and, as such, the assertions fail.

> CI failure: 
> LocatorMembershipListenerTest.locatorJoinedShouldNotifyEveryKnownLocatorAboutTheJoiningLocatorAndJoiningLocatorAboutAllTheKnownLocators
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7005
>                 URL: https://issues.apache.org/jira/browse/GEODE-7005
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Aaron Lindsey
>            Assignee: Juan José Ramos Cassella
>            Priority: Major
>              Labels: GeodeCommons
>
> Failing job: 
> [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/UnitTestOpenJDK8/builds/903]
> Archived results:
> [http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0469/test-results/test/1563836162/]
> Stack trace:
> {{org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerTest
>  > 
> locatorJoinedShouldNotifyEveryKnownLocatorAboutTheJoiningLocatorAndJoiningLocatorAboutAllTheKnownLocators
>  FAILED}}
> {{    Wanted but not invoked:}}
> {{    tcpClient.requestToServer(}}
> {{        localhost/127.0.0.1:10103,}}
> {{        LocatorJoinMessage\{distributedSystemId=1 locators=localhost[10102] 
> Source Locator : localhost[10101]},}}
> {{        5000,}}
> {{        false}}
> {{    );}}
> {{    -> at 
> org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerTest.verifyMessagesSentBothWays(LocatorMembershipListenerTest.java:85)}}
> {{    Actually, there were zero interactions with this mock.}}
> {{        at 
> org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerTest.verifyMessagesSentBothWays(LocatorMembershipListenerTest.java:85)}}
> {{        at 
> org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerTest.locatorJoinedShouldNotifyEveryKnownLocatorAboutTheJoiningLocatorAndJoiningLocatorAboutAllTheKnownLocators(LocatorMembershipListenerTest.java:253)}}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to