Hao Hao has posted comments on this change. ( http://gerrit.cloudera.org:8080/9071 )
Change subject: [java] add test to reproduce KUDU-2267 ...................................................................... Patch Set 5: (1 comment) http://gerrit.cloudera.org:8080/#/c/9071/5/java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java File java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java: http://gerrit.cloudera.org:8080/#/c/9071/5/java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java@94 PS5, Line 94: assertEventuallyTrue("Not able to connect to all the masters", : new BooleanExpression() { : @Override : public boolean get() throws Exception { : ConnectToCluster connector = new ConnectToCluster(masterHostPorts); : connector.connectToMasters(newClient.asyncClient.getMasterTable(), null, : DEFAULT_SLEEP, Connection.CredentialsPolicy.ANY_CREDENTIALS); : connector.getDeferred().join(); : List<Exception> s = connector.getExceptionsReceived(); : return s.size() == 0; : } : }, DEFAULT_SLEEP); > After discovering KUDU-2319, I guess that at some point the client might co Ok, after looking more carefully, I found the issue is we should wait for the deferred for all responses. Will put a patch to fix it. -- To view, visit http://gerrit.cloudera.org:8080/9071 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I4879749988dc884fe81cf36838819379db91ae72 Gerrit-Change-Number: 9071 Gerrit-PatchSet: 5 Gerrit-Owner: Hao Hao <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Comment-Date: Thu, 22 Feb 2018 00:20:18 +0000 Gerrit-HasComments: Yes
