[
https://issues.apache.org/jira/browse/ZOOKEEPER-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850215#comment-13850215
]
Germán Blanco commented on ZOOKEEPER-1845:
------------------------------------------
Shouldn't the last access to joinedThreads in line 317 also be in a
synchronized block?
> 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
>
> Attachments: ZOOKEEPER-1845-3.4.patch
>
>
> 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)