You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2015/05/18 23:32:00 UTC

[jira] [Commented] (ZOOKEEPER-1866) ClientBase#createClient is failing frequently

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

Flavio Junqueira commented on ZOOKEEPER-1866:
---------------------------------------------

The build is working fine on my Windows machine, so I'd say this isn't a problem any longer. I'd say we resolve this issue.

> ClientBase#createClient is failing frequently
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-1866
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1866
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: tests
>    Affects Versions: 3.4.5
>            Reporter: Rakesh R
>            Assignee: Germán Blanco
>             Fix For: 3.4.7
>
>         Attachments: ZOOKEEPER-1866.patch
>
>
> Following failure pattern has been observed many times in windows build. After creating the zookeeper client, the respective connection bean is not available in the jmx beans and is failing the tests.
> {code}
>     [junit] 2014-01-22 08:58:22,625 [myid:] - INFO  [main:ZKTestCase$1@65] - FAILED testInvalidVersion
>     [junit] junit.framework.AssertionFailedError: expected [0x143b92b03330000] expected:<1> but was:<0>
>     [junit] 	at junit.framework.Assert.fail(Assert.java:47)
>     [junit] 	at junit.framework.Assert.failNotEquals(Assert.java:283)
>     [junit] 	at junit.framework.Assert.assertEquals(Assert.java:64)
>     [junit] 	at junit.framework.Assert.assertEquals(Assert.java:195)
>     [junit] 	at org.apache.zookeeper.test.JMXEnv.ensureAll(JMXEnv.java:124)
>     [junit] 	at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:191)
>     [junit] 	at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:171)
>     [junit] 	at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:156)
>     [junit] 	at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:149)
>     [junit] 	at org.apache.zookeeper.test.MultiTransactionTest.setUp(MultiTransactionTest.java:60)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)