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

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

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

Rakesh R resolved ZOOKEEPER-1866.
---------------------------------
    Resolution: Not A Problem

Yes, agreed. Please re-open if anyone has different opinion.

> 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)