You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2017/04/10 17:25:42 UTC

[jira] [Resolved] (ZOOKEEPER-2707) Fix "Unexpected bean exists!" issue in WatcherTests

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Han resolved ZOOKEEPER-2707.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.4.11
                   3.6.0

Resolved after ZOOKEEPER-2743 merged in. Will cherry pick the fix to 3.5. after pending 3.5.3 release is out.

> Fix "Unexpected bean exists!" issue in WatcherTests
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-2707
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2707
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: tests
>    Affects Versions: 3.4.10, 3.5.3
>            Reporter: Abraham Fine
>            Assignee: Michael Han
>             Fix For: 3.6.0, 3.4.11
>
>
> All the WatcherTests occasionally fail with: 
> {code}
> Error Message:
> Unexpected bean exists! expected:<0> but was:<1>
> Stack Trace:
> junit.framework.AssertionFailedError: Unexpected bean exists! expected:<0> but was:<1>
> 	at org.apache.zookeeper.test.ClientBase.verifyUnexpectedBeans(ClientBase.java:498)
> 	at org.apache.zookeeper.test.ClientBase.startServer(ClientBase.java:477)
> 	at org.apache.zookeeper.test.ClientBase.setUp(ClientBase.java:460)
> 	at org.apache.zookeeper.test.WatcherTest.setUp(WatcherTest.java:76)
> {code}
> Here is an example: https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/422/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)