Alexey Serbin has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/15115
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/integration-tests/raft_consensus_nonvoter-itest.cc
1 file changed, 7 insertions(+), 2 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: Ia76e4ea57f2f9d4251ad3cbed47267266fee7e28
Gerrit-Change-Number: 15115
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to