Vuk Ercegovac has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9538


Change subject: IMPALA-6602: fixes flaky expiration test
......................................................................

IMPALA-6602: fixes flaky expiration test

The test_query_expiration test assumes that a metric and
the query state are maintained atomically. Since they're
not, occasionaly flakes (false negatives) occur.

The fix in this patch is to loop until the expected state
is seen. If the expected state is not seen with a given number
of iterations, the test fails. These tests depend on timing so
if this validation takes too long, the test will also fail.
Such looping is used in the two places where its assumed that the
client state and metrics are maintained atomically.

Change-Id: I7aabed87d84d5cfd8078cc6c39df48e22ff30afc
---
M tests/custom_cluster/test_query_expiration.py
1 file changed, 17 insertions(+), 6 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7aabed87d84d5cfd8078cc6c39df48e22ff30afc
Gerrit-Change-Number: 9538
Gerrit-PatchSet: 1
Gerrit-Owner: Vuk Ercegovac <vercego...@cloudera.com>

Reply via email to