You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andor Molnar (JIRA)" <ji...@apache.org> on 2018/07/10 10:19:00 UTC

[jira] [Resolved] (ZOOKEEPER-3042) testFailedTxnAsPartOfQuorumLoss is flaky

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

Andor Molnar resolved ZOOKEEPER-3042.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.5.5

Issue resolved by pull request 521
[https://github.com/apache/zookeeper/pull/521]

> testFailedTxnAsPartOfQuorumLoss is flaky
> ----------------------------------------
>
>                 Key: ZOOKEEPER-3042
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3042
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.5.3, 3.6.0, 3.4.12
>            Reporter: Bogdan Kanivets
>            Assignee: Bogdan Kanivets
>            Priority: Minor
>              Labels: flaky, pull-request-available
>             Fix For: 3.5.5
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> According to the [dashboard|https://builds.apache.org/job/ZooKeeper-Find-Flaky-Tests/lastSuccessfulBuild/artifact/report.html] testFailedTxnAsPartOfQuorumLoss is flaky. I've looked at some logs and there are multiple causes of flakiness. One of them is in this line after step 5
> {code:java}
> Assert.assertEquals(1, outstanding.size());
> {code}
> For example [this|https://builds.apache.org/job/ZooKeeper_branch35_java10/10/artifact/build/test/logs] build of 3.5
> I was able to reproduce this particular issue in debug mode and the problem is that 'outstading' map can also have 'closeSession' entries that are expected.
> I'll submit a patch to relax this check.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)