Hello Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/18328

to look at the new patch set (#3).

Change subject: IMPALA-11183: Fix run-all-tests.sh can't repeat tests more than 
once
......................................................................

IMPALA-11183: Fix run-all-tests.sh can't repeat tests more than once

We launch a background process checking whether tests are timeout in
run-all-tests.sh. When NUM_TEST_ITERATIONS is set to larger than 1,
run-all-tests.sh will repeat the tests. However, the timeout process is
killed at the end of each iteration, which fails the script when we want
to repeat tests. This patch moves the killing logic outside the loop.

This patch also adds a new variable, CLUSTER_TEST_FILES, to specify
a particular custom-cluster test to run.

To speedup the test iteration, this patch avoids always restarting the
Impala cluster. E.g. when we just need to run a particular EE test, we
only need to start the Impala cluster once.

Tested with NUM_TEST_ITERATIONS=10 and verified with following
scenarios.

1) custom-cluster test only
export BE_TEST, FE_TEST, JDBC_TEST, EE_TEST to false
export CLUSTER_TEST=true and CLUSTER_TEST_FILES to following values:
custom_cluster/test_local_catalog.py
custom_cluster/test_local_catalog.py::TestLocalCatalogRetries
custom_cluster/test_local_catalog.py::TestLocalCatalogRetries::test_replan_limit
"custom_cluster/test_local_catalog.py -k replan_limit"

2) e2e test only
export BE_TEST, FE_TEST, JDBC_TEST, CLUSTER_TEST to false
export EE_TEST=true and
EE_TEST_FILES=query_test/test_scanners.py::TestParquet::test_multiple_blocks_mt_dop

Change-Id: I2bdd8a9c68ffb0dd1c3ea72c3649b00abcc05a49
---
M bin/run-all-tests.sh
M tests/run-custom-cluster-tests.sh
M tests/run-tests.py
3 files changed, 28 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/28/18328/3
--
To view, visit http://gerrit.cloudera.org:8080/18328
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2bdd8a9c68ffb0dd1c3ea72c3649b00abcc05a49
Gerrit-Change-Number: 18328
Gerrit-PatchSet: 3
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

Reply via email to