Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15115


Change subject: [tests] fix flakiness in RaftConsensusNonVoterITest
......................................................................

[tests] fix flakiness in RaftConsensusNonVoterITest

Fixed flakiness in PromoteAndDemote scenario of the
RaftConsensusNonVoterITest test.

Due to the short heartbeat interval and concurrent activity, sometimes
it takes a bit more time for a tserver to respond to
RequestConsensusVote call than the Raft timeout.

Prior to this fix, the scenario failed for ASAN builds in rate of
1 in ~100 runs.  With the fix, I could not see it failing after
multiple 1K runs.

Change-Id: Ia76e4ea57f2f9d4251ad3cbed47267266fee7e28
---
M src/kudu/integration-tests/raft_consensus_nonvoter-itest.cc
1 file changed, 7 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/15115/1
--
To view, visit http://gerrit.cloudera.org:8080/15115
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia76e4ea57f2f9d4251ad3cbed47267266fee7e28
Gerrit-Change-Number: 15115
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to