Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/8892


Change subject: KUDU-2236 fix flake in TestKuduClient
......................................................................

KUDU-2236 fix flake in TestKuduClient

TestKuduClient.testCloseShortlyAfterOpen would expect 0 log spew, and
ensure that no unexpected exceptions were caught. It noted that
"connection disconnected" errors were possible, but added a wait to make
them less likely. This turned out to be extremely flaky.

This patch replaces the wait with logic to catch the appropriate error
message.

Without this patch, the test only passed 57/100 runs. With the patch, it
passes 100/100.

Change-Id: Ice5b404107dd425eab5ea3f382090b2304ef8a5e
---
M java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduClient.java
1 file changed, 5 insertions(+), 4 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice5b404107dd425eab5ea3f382090b2304ef8a5e
Gerrit-Change-Number: 8892
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to