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


Change subject: IMPALA-10249: Fix the flaky TestImpalaShell.test_queries_closed 
test.
......................................................................

IMPALA-10249: Fix the flaky TestImpalaShell.test_queries_closed test.

This test for IMPALA-897 is testing that queries run by Impala Shell
from a script file are closed correctly.  This is tested by an assertion
that there is one in-flight query during execution of a script
containing several queries. The test then closes the shell and checks
that there are no in-flight queries. This is the assertion which failed.
Change this assertion to instead wait for the number of in-flight
queries to be zero. This avoids whatever race was causing the flakiness.

Change-Id: Ib0485097c34282523ed0df6faa143fee6f74676d
---
M tests/shell/test_shell_commandline.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/43/16743/1
--
To view, visit http://gerrit.cloudera.org:8080/16743
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0485097c34282523ed0df6faa143fee6f74676d
Gerrit-Change-Number: 16743
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <[email protected]>

Reply via email to