Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10887
Change subject: [raft_conensus-itest] fix TestElectionMetrics flake ...................................................................... [raft_conensus-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]. Prior to this patch, the TestElectionMetrics scenario could fail if a leader election happen 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, 122 insertions(+), 27 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/87/10887/1 -- 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: newchange Gerrit-Change-Id: I073c9989a6d5d5dc1eb104120a89d38cfce2ac6e Gerrit-Change-Number: 10887 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
