Will Berkeley has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13466 )

Change subject: [java] Deflake 
TestSecurity.testImportExportAuthenticationCredentials
......................................................................

[java] Deflake TestSecurity.testImportExportAuthenticationCredentials

This test was flaky for the same reason that
SecureKuduSinkTest.testEventsWithShortTickets was flaky (as addressed
in 3cbc025869494be2a1fa91582dfabc95d7bc88f9): the test was using short
ticket lifetimes, and sometimes in TSAN the cluster would simply take
longer than the ticket lifetime to start, causing the minicluster
check to fail with "not authorized" errors. However, unlike the sink
test, I don't see a reason why this test needs to use short lifetimes.
It manually invalidates credentials and does not wait for expiration.
So, I simply unset the option making it use short ticket lifetimes.

Change-Id: Ifb9fd101deb82acc849ba5dd6dfe8a34a76eea03
Reviewed-on: http://gerrit.cloudera.org:8080/13466
Tested-by: Will Berkeley <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
M java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Will Berkeley: Verified
  Alexey Serbin: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/13466
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb9fd101deb82acc849ba5dd6dfe8a34a76eea03
Gerrit-Change-Number: 13466
Gerrit-PatchSet: 2
Gerrit-Owner: Will Berkeley <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Will Berkeley <[email protected]>

Reply via email to