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


Change subject: [tests] fix flake in one AdminCliTest's scenario
......................................................................

[tests] fix flake in one AdminCliTest's scenario

AdminCliTest::TestUnsafeChangeConfigWithMultiplePendingConfigs
had a race condition: leader re-election between calls of
FindTabletLeader() and FindTabletFollowers(), with frequency
about 1/300 if running with dist-test.

The updated code does not contain that race: more then 2K runs
of dist-test passed without a single failure.

In addition to that, this patch contains minor clean-up
related to the RunUnsafeChangeConfig() function.

Change-Id: Iafbaca77d9f0c795bb1787923d50f9fe0a41f334
---
M src/kudu/tools/kudu-admin-test.cc
1 file changed, 21 insertions(+), 22 deletions(-)



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

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

Reply via email to