You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/14 21:23:00 UTC
[jira] [Updated] (ZOOKEEPER-3042) testFailedTxnAsPartOfQuorumLoss
is flaky
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ZOOKEEPER-3042:
--------------------------------------
Labels: pull-request-available (was: )
> 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: pull-request-available
>
> 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)