[
https://issues.apache.org/jira/browse/ZOOKEEPER-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936589#comment-16936589
]
Hudson commented on ZOOKEEPER-3470:
-----------------------------------
FAILURE: Integrated in Jenkins build ZooKeeper-trunk #708 (See
[https://builds.apache.org/job/ZooKeeper-trunk/708/])
ZOOKEEPER-3470: Fix flaky LearnerMetricsTest (again) (nkalmar: rev
93dca3c2547c56cc83d94a59fe4c279ea7e77716)
* (edit)
zookeeper-server/src/test/java/org/apache/zookeeper/server/quorum/LearnerMetricsTest.java
> 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
> Assignee: Mate Szalay-Beko
> Priority: Major
> Labels: flaky, flaky-test, newbie, pull-request-available, test
> Fix For: 3.6.0
>
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> 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)
> [https://github.com/apache/zookeeper/pull/856]
> Submitted by: jhuan31
> Maybe we should just blame the Thread.sleep(200) in line:77 and replace it
> with some clever logic.
> Please take a look.
> Regards,
> Andor
--
This message was sent by Atlassian Jira
(v8.3.4#803005)