You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/05/10 06:24:24 UTC
[impala] 01/02: IMPALA-7176: Increase wait time in
test_insert_mem_limit
This is an automated email from the ASF dual-hosted git repository.
tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit ed0a2b6010107c0719ca00991259298c59730a0b
Author: Michael Ho <kw...@cloudera.com>
AuthorDate: Tue May 7 14:38:52 2019 -0700
IMPALA-7176: Increase wait time in test_insert_mem_limit
test_insert_mem_limit in test_insert.py will wait for all fragments
to exit before proceeding after the test query hits a memory limit.
On some slower EC2 instances with Centos6, the default wait time of
60s may occasionally cause the test to fail due to time out waiting
for all fragments to exit.
This change increases the timeout to 180 seconds.
Testing done:
- Looped test_insert_mem_limit for 100 times on Centos6;
Change-Id: I2e14bef79c6c6fb0004270319f1c491194260438
Reviewed-on: http://gerrit.cloudera.org:8080/13292
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
tests/query_test/test_insert.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/query_test/test_insert.py b/tests/query_test/test_insert.py
index 5014156..4ee8f88 100644
--- a/tests/query_test/test_insert.py
+++ b/tests/query_test/test_insert.py
@@ -150,7 +150,7 @@ class TestInsertQueries(ImpalaTestSuite):
verifiers = [MetricVerifier(i.service)
for i in ImpalaCluster.get_e2e_test_cluster().impalads]
for v in verifiers:
- v.wait_for_metric("impala-server.num-fragments-in-flight", 0, timeout=60)
+ v.wait_for_metric("impala-server.num-fragments-in-flight", 0, timeout=180)
@pytest.mark.execute_serially
@SkipIfS3.eventually_consistent