Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3042

testFailedTxnAsPartOfQuorumLoss is flaky

    Details

      Description

      According to the dashboard 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

      Assert.assertEquals(1, outstanding.size());
      

      For example this 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.

        Attachments

          Activity

            People

            • Assignee:
              bkanivets Bogdan Kanivets
              Reporter:
              bkanivets Bogdan Kanivets
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h