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


Change subject: [autn_token_expire-itest] make one scenario more robust
......................................................................

[autn_token_expire-itest] make one scenario more robust

This patch addresses a TICTOU condition in ClientReacquiresAuthnToken
scenario of the MultiMasterIdleConnectionsITest test and replaces ad-hoc
master re-election requests with graceful leadership transfer.

I haven't seen the TICTOU condition manifesting itself yet, but since
I already spent time on looking around to find the reason behind the
test failure (the root cause has been found and is fixed by
https://gerrit.cloudera.org/#/c/16106/), it doesn't hurt to make the
test scenario a bit more robust.

Change-Id: Id06be851c92958c2c134d9e06a7dc133283aeba2
---
M src/kudu/integration-tests/auth_token_expire-itest.cc
1 file changed, 23 insertions(+), 14 deletions(-)



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

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

Reply via email to