You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2013/12/17 01:31:08 UTC

[jira] [Commented] (ZOOKEEPER-1845) FLETest.testLE fails on windows

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

Michi Mutsuzaki commented on ZOOKEEPER-1845:
--------------------------------------------

I just noticed this is not a problem in trunk. It uses a set to keep track of who have joined, and it doesn't check whether the leader thread is alive or not.

> FLETest.testLE fails on windows
> -------------------------------
>
>                 Key: ZOOKEEPER-1845
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1845
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: quorum
>    Affects Versions: 3.4.5
>         Environment: windows 7 x64 java 1.7.0_45
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.4.6
>
>
> This test waits for the leader election to settle, but it is possible that 3 follower threads join before the leader thread joins. We should wait for the leader thread to join in a loop for some time.
> {noformat}
> Leader hasn't joined: 5
> junit.framework.AssertionFailedError: Leader hasn't joined: 5
>         at org.apache.zookeeper.test.FLETest.testLE(FLETest.java:313)
>         at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)