geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <>
Subject [jira] [Reopened] (GEODE-857) SystemFailure.stopWatchdog will always wait 1 second
Date Fri, 12 Feb 2016 05:04:18 GMT


Anthony Baker reopened GEODE-857:

I ran into a failure with this unit test:

com.gemstone.gemfire.SystemFailureJUnitTest > testStopThreads FAILED
        at org.junit.Assert.assertTrue(
        at org.junit.Assert.assertTrue(
        at com.gemstone.gemfire.SystemFailureJUnitTest.testStopThreads(


> SystemFailure.stopWatchdog will always wait 1 second
> ----------------------------------------------------
>                 Key: GEODE-857
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>             Fix For: 1.0.0-incubating.M2
> This method is called during distributed system shutdown. It synchronizes on failureSync,
and then calls Thread.join on the watchDog thread and waits one second.
> The watchDog thread can't wake up until it can get the failureSync, so the Thread.join
call will always end up waiting.
> This adds a lot of time to our tests, because we often disconnect the distributed system.

This message was sent by Atlassian JIRA

View raw message