Todd Lipcon has submitted this change and it was merged. Change subject: KUDU-2042 fix flakiness in raft_consensus-itest ......................................................................
KUDU-2042 fix flakiness in raft_consensus-itest Fixed flakiness in the raft_consensus-itest test exposed by recent change 86116e4c515a9c89e728dd699decaf20d097edac. The source of the flakiness was the race between possible leader election and calls of GetLeaderReplicaWithRetries() and GetOnlyLiveFollowerReplicas() methods. DEBUG build, run with --cpu-stress-threads=8 before the fix: http://dist-test.cloudera.org//job?job_id=aserbin.1498102286.18617 13 out of 2048 failed (0.6% failure rate) DEBUG build, run with --cpu-stress-threads=8, after the fix: http://dist-test.cloudera.org//job?job_id=aserbin.1498103715.1697 0 out of 2048 failed (0.0% failure rate) Change-Id: Ia5fb2b82afb15b50659d068ef83d11b7cc291ca9 Reviewed-on: http://gerrit.cloudera.org:8080/7227 Tested-by: Kudu Jenkins Reviewed-by: Todd Lipcon <[email protected]> --- M src/kudu/integration-tests/raft_consensus-itest.cc M src/kudu/integration-tests/ts_itest-base.h 2 files changed, 75 insertions(+), 30 deletions(-) Approvals: Todd Lipcon: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/7227 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia5fb2b82afb15b50659d068ef83d11b7cc291ca9 Gerrit-PatchSet: 7 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]>
