geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-3333) GMSJoinLeaveJUnitTest.testViewNotSentWhenShuttingDown fails
Date Tue, 01 Aug 2017 21:04:01 GMT


ASF subversion and git services commented on GEODE-3333:

Commit b218ca30bd447afffbb5da6360219a61c84ffe8a in geode's branch refs/heads/feature/GEODE-3299
from [~bschuchardt]
[;h=b218ca3 ]

GEODE-3333: GMSJoinLeaveJUnitTest.testViewNotSentWhenShuttingDown fails

Moved assertion to remove race condition.  The test wanted to
confirm that the object under test thought it was membership
coordinator and then check to see if it decided to stop being
coordinator.  If the background thread did this quickly enough
the first condition would never be seen by the test.

Since the object under test was the coordinator immediately after
setup there was no need to delay the assertion until after removing
other members from the view.

> GMSJoinLeaveJUnitTest.testViewNotSentWhenShuttingDown fails
> -----------------------------------------------------------
>                 Key: GEODE-3333
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: membership, messaging
>            Reporter: Galen O'Sullivan
>              Labels: flaky
> This test has been failing sometimes in CI and precheckin. It fails reliably on my machine
when run on develop with the following command:
> {code}
>  ./gradlew -DintegrationTest.single=GMSJoinLeaveJUnitTest geode-core:integrationTest
> {code}
> tested on commit 0b4a1a23900d93125e9b9286aa91d170a89f3353

This message was sent by Atlassian JIRA

View raw message