Alexey Serbin has submitted this change and it was merged. ( 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 TOCTOU 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 TOCTOU 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 Reviewed-on: http://gerrit.cloudera.org:8080/16107 Reviewed-by: Grant Henke <[email protected]> Tested-by: Alexey Serbin <[email protected]> --- M src/kudu/integration-tests/auth_token_expire-itest.cc 1 file changed, 23 insertions(+), 14 deletions(-) Approvals: Grant Henke: Looks good to me, approved Alexey Serbin: Verified -- 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: merged Gerrit-Change-Id: Id06be851c92958c2c134d9e06a7dc133283aeba2 Gerrit-Change-Number: 16107 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Greg Solovyev <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
