You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Germán Blanco (JIRA)" <ji...@apache.org> on 2014/02/04 11:16:11 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=13890537#comment-13890537 ] 

Germán Blanco commented on ZOOKEEPER-1866:
------------------------------------------

ZOOKEEPER-1872 could solve this problem, so let's finish that one and see if this error happens again.

> 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.6
>
>         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.1.5#6160)