Fredy Wijaya has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12047
Change subject: IMPALA-6591: Fix test_ssl flaky test ...................................................................... IMPALA-6591: Fix test_ssl flaky test test_ssl has a logic that waits for the number of in-flight queries to be 1. However, the logic for wait_for_num_in_flight_queries(1) only waits for the condition to be true for a period of time and does not throw an exception when the time has elapsed and the condition is not met. In other words, the logic that loops while the number of in-flight queries is 1 never gets executed. I was able to simulate this issue by making Impala shell start much longer. Prior to this patch, in the event that Impala shell took much longer to start, the test started sending the commands to Impala shell even when Impala shell was not ready to receive commands. The patch fixes the issue by waiting for 3 seconds to make sure Impala shell fully starts since starting Impala with SSL enabled can take a bit of time. Although I am not 100% certain on the root cause, the patch seems to fix the issue to unblock the flakiness for now. We should investigate more on this issue, or perhaps update the test to be non-flaky. Testing: - Ran core and exhaustive tests on CentOS 6 Change-Id: I9805269d8b806aecf5d744c219967649a041d49f --- M tests/custom_cluster/test_client_ssl.py 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/47/12047/1 -- To view, visit http://gerrit.cloudera.org:8080/12047 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I9805269d8b806aecf5d744c219967649a041d49f Gerrit-Change-Number: 12047 Gerrit-PatchSet: 1 Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com>