Jason Fehr has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21549


Change subject: IMPALA-13167: Fix Workload Management Tests Timing out
......................................................................

IMPALA-13167: Fix Workload Management Tests Timing out

The workload management tests in test_query_log.py have been timing out
when they wait for workload management to fully initialize the
sys.impala_query_log and sys.impala_query_live tables. These tests do
not find the log message stating that the sys.impala_query_log table
has been created. These tests use the assert_impalad_log_contains
function from impala_test_suite.py to search for the relevant log
message. By default, this function only allows 6 seconds for this
message to appear. In bigger clusters that have larger amounts of data
to sync from the statestore and catalog, this time is not long enough.

This patch modifies the timeout from 6 seconds to 1 minute that the
tests will wait before they time out. The longer timeout will give more
time for the cluster to completed start and workload management to
initialize before it fails the test.

Change-Id: I7ca8c7543360b5cb183cfb0b0b515d38c17e0974
---
M tests/custom_cluster/test_query_live.py
M tests/custom_cluster/test_query_log.py
2 files changed, 8 insertions(+), 4 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ca8c7543360b5cb183cfb0b0b515d38c17e0974
Gerrit-Change-Number: 21549
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Fehr <[email protected]>

Reply via email to