Alexey Serbin has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/10836 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Mike Percy <[email protected]> --- M src/kudu/tools/kudu-admin-test.cc 1 file changed, 21 insertions(+), 22 deletions(-) Approvals: Alexey Serbin: Verified Mike Percy: Looks good to me, approved -- 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: merged Gerrit-Change-Id: Iafbaca77d9f0c795bb1787923d50f9fe0a41f334 Gerrit-Change-Number: 10836 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Will Berkeley <[email protected]>
