Hello Will Berkeley, Mike Percy, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/10887
to look at the new patch set (#2).
Change subject: [raft_consensus-itest] fix TestElectionMetrics flake
......................................................................
[raft_consensus-itest] fix TestElectionMetrics flake
This patch fixes flakiness in the RaftConsensusITest.TestElectionMetrics
scenario. The original TestElectionMetrics scenario was split into
two parts TestElectionMetricsPart[1,2] to separate tests that assume
no leader election happen and depend on the leader failure detection
mechanism, correspondingly.
Prior to this patch, the TestElectionMetrics scenario could fail if a
leader election happened inadvertently.
Before (1 out of 12 failed):
http://dist-test.cloudera.org/job?job_id=aserbin.1530681412.7635
After (not a single failure in 1K run):
http://dist-test.cloudera.org/job?job_id=aserbin.1530918429.120803
Change-Id: I073c9989a6d5d5dc1eb104120a89d38cfce2ac6e
---
M src/kudu/consensus/raft_consensus.cc
M src/kudu/integration-tests/raft_consensus-itest.cc
2 files changed, 121 insertions(+), 27 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/87/10887/2
--
To view, visit http://gerrit.cloudera.org:8080/10887
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I073c9989a6d5d5dc1eb104120a89d38cfce2ac6e
Gerrit-Change-Number: 10887
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Will Berkeley <[email protected]>