Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14953
Change subject: [tests] address flakiness in raft_consensus_election-itest ...................................................................... [tests] address flakiness in raft_consensus_election-itest Few test scenarios of the raft_consensus_election-itest suite involving churny elections were showing flakiness when run in slow mode with --stress_cpu_threads=16. The common root of the problem was failing writer test thread due to timeout. This patch addresses the issue, increasing Raft heartbeat interval from 1 to 2 milliseconds. With this change, the above mentioned tests become more stable, no longer failing due to the timeout error. I ran the raft_consensus_election-itest built in DEBUG mode multiple 1K batches to confirm that. Even with this patch, the above mentioned test scenarios sometimes fail due to the DCHECK_GE assert in PeerMessageQueue::CheckMonotonicTerms(). The latter issues will be addressed separately. Change-Id: If6f54643c9c066b31a74e1082260225e60324e4e --- M src/kudu/consensus/consensus_queue.cc M src/kudu/consensus/consensus_queue.h M src/kudu/integration-tests/raft_consensus_election-itest.cc 3 files changed, 9 insertions(+), 9 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/53/14953/1 -- To view, visit http://gerrit.cloudera.org:8080/14953 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If6f54643c9c066b31a74e1082260225e60324e4e Gerrit-Change-Number: 14953 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
