[
https://issues.apache.org/jira/browse/GEODE-7005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892997#comment-16892997
]
ASF subversion and git services commented on GEODE-7005:
--------------------------------------------------------
Commit f74f12b2f6cf5ee034cd38733705d0f9a578b7ec in geode's branch
refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=f74f12b ]
GEODE-7005: Fix Race Condition in Unit Test (#3832)
- Added a warn logging message so users know that the distributor
thread has been interrupted.
- Use awaitility instead of trying to find the daemon thread right
away, it might have not been started and, as such, the assertions
would 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
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)