You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/06/08 07:19:00 UTC
[jira] [Resolved] (IMPALA-11183) run-all-tests.sh fails to run tests in multiple iterations
[ https://issues.apache.org/jira/browse/IMPALA-11183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Quanlong Huang resolved IMPALA-11183.
-------------------------------------
Fix Version/s: Impala 4.2.0
Resolution: Fixed
> run-all-tests.sh fails to run tests in multiple iterations
> ----------------------------------------------------------
>
> Key: IMPALA-11183
> URL: https://issues.apache.org/jira/browse/IMPALA-11183
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 3.2.0, Impala 4.0.0, Impala 3.3.0, Impala 3.4.0
> Reporter: Quanlong Huang
> Assignee: Quanlong Huang
> Priority: Major
> Fix For: Impala 4.2.0
>
>
> I try running tests multiple times by exporting NUM_TEST_ITERATIONS to 100. However, run-all-tests.sh fails at the second iteration when it wants to kill the timeout process again.
> The current code is
> {code:bash}
> "${IMPALA_HOME}/bin/script-timeout-check.sh" -timeout $TIMEOUT_FOR_RUN_ALL_TESTS_MINS \
> -script_name "$(basename $0)" &
> TIMEOUT_PID=$!
> ...
> for i in $(seq 1 $NUM_TEST_ITERATIONS)
> do
> ... # run tests
> pkill -P $TIMEOUT_PID || true
> kill $TIMEOUT_PID
> ...
> done
> {code}
> We should move the {{kill}} command outside the loop.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org