Bogdan Kanivets created ZOOKEEPER-3042:
------------------------------------------
Summary: 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.4.12, 3.5.3, 3.6.0
Reporter: Bogdan Kanivets
Assignee: Bogdan Kanivets
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)