zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3470) Flaky test: LearnerMetricsTest.testLearnerMetricsTest()
Date Fri, 26 Jul 2019 12:54:00 GMT
Andor Molnar created ZOOKEEPER-3470:

             Summary: Flaky test: LearnerMetricsTest.testLearnerMetricsTest()
                 Key: ZOOKEEPER-3470
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3470
             Project: ZooKeeper
          Issue Type: Sub-task
          Components: tests
    Affects Versions: 3.6.0
            Reporter: Andor Molnar

Hi team,

New test testLearnerMetricsTest() added by the following commit failed 2 times on master with
the same error:

junit.framework.AssertionFailedError: expected:<10> but was:<9>
 at org.apache.zookeeper.server.quorum.LearnerMetricsTest.testLearnerMetricsTest(LearnerMetricsTest.java:88)
 at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80)

Submitted by: jhuan31

Maybe we should just blame the Thread.sleep(200) in line:77 and replace it with some clever
Please take a look.


This message was sent by Atlassian JIRA

View raw message