zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Péter Gergő Barna (JIRA) <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2722) Flaky Test: org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment
Date Tue, 18 Apr 2017 10:11:41 GMT

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

Péter Gergő Barna commented on ZOOKEEPER-2722:
----------------------------------------------

[~hanm], branch-3.4 does not compile since your last commit has been pushed on it. 


    [javac] /Users/pbarna/Desktop/apache-source/zookeeper/src/java/test/org/apache/zookeeper/test/ClientBase.java:151:
error: cannot find symbol
    [javac]             long expire = Time.currentElapsedTime() + timeout;
    [javac]                           ^
    [javac]   symbol:   variable Time
    [javac]   location: class CountdownWatcher
    [javac] /Users/pbarna/Desktop/apache-source/zookeeper/src/java/test/org/apache/zookeeper/test/ClientBase.java:155:
error: cannot find symbol
    [javac]                 left = expire - Time.currentElapsedTime();


> Flaky Test: org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2722
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2722
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>            Reporter: Michael Han
>            Assignee: Michael Han
>              Labels: flaky
>             Fix For: 3.5.4, 3.6.0, 3.4.11
>
>
> {noformat}
> Error Message
> KeeperErrorCode = ConnectionLoss for /test
> Stacktrace
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /test
> 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> 	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1423)
> 	at org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment(ReadOnlyModeTest.java:238)
> 	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Looks like we should retry before giving up.



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

Mime
View raw message