[ https://issues.apache.org/jira/browse/ZOOKEEPER-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923562#comment-15923562 ]
ASF GitHub Bot commented on ZOOKEEPER-2718: ------------------------------------------- GitHub user hanm reopened a pull request: https://github.com/apache/zookeeper/pull/190 ZOOKEEPER-2718: fix flaky StandaloneDisabledTest The flaky (that existing for a long time) is caused by a ghost server that although not appear in the quorum's config but still up and running and send requests to the quorum {2, 3, 4}. Fix is simply kill the server 1 after it's used. Verified that with the fix the test survive stress test (100+ runs) while w/o the fix the tests fails frequently, on internal Jenkins machine. ZOOKEEPER-2718: build bot do something please. You can merge this pull request into a Git repository by running: $ git pull https://github.com/hanm/zookeeper ZOOKEEPER-2178 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/190.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #190 ---- commit 85d4fb7fb5769a7c95b93588ab2357aa3d7f4242 Author: Michael Han <h...@apache.org> Date: 2017-03-14T03:48:03Z ZOOKEEPER-2178: org.apache.zookeeper.server.quorum.StandaloneDisabledTest fails intermittently. ---- > org.apache.zookeeper.server.quorum.StandaloneDisabledTest fails intermittently > ------------------------------------------------------------------------------ > > Key: ZOOKEEPER-2718 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2718 > Project: ZooKeeper > Issue Type: Test > Components: quorum, server, tests > Affects Versions: 3.6.0 > Environment: Ubuntu:14.04 > Reporter: Sneha Kanekar > Assignee: Michael Han > Labels: ppc64le, x86 > > The test-suite org.apache.zookeeper.server.quorum.StandaloneDisabledTest > fails intermittently with a timeout error. It fails on x86 and ppc64le > architechture. The standard output is as follows: > {code:borderStyle=solid} > Testsuite: org.apache.zookeeper.server.quorum.StandaloneDisabledTest > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec > Testcase: startSingleServerTest took 0.001 sec > Caused an ERROR > Timeout occurred. Please note the time in the report does not reflect the > time until the timeout. > junit.framework.AssertionFailedError: Timeout occurred. Please note the time > in the report does not reflect the time until the timeout. > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)