You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2026/07/23 16:07:15 UTC
(impala) 02/03: IMPALA-15208: Bump wait time for TestAsyncDDL.test_get_operation_status_for_async_ddl
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 4a0caf3eeff9aaf9dfd5ed0671d8f336f8a9439f
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Wed Jul 22 19:47:51 2026 -0700
IMPALA-15208: Bump wait time for TestAsyncDDL.test_get_operation_status_for_async_ddl
After the fix for IMPALA-13690, there has been occasional
flakiness where TestAsyncDDL.test_get_operation_status_for_async_ddl
is timing out waiting for the query to transition from RUNNING
to FINISHED. It currently waits 5 seconds, which is 2 seconds
for the sleep in the query plus another 3 seconds as a buffer.
These failures tend to happen on slower build types like
ASAN and code coverage. The actual execution time of the query
is not really what we are testing, so this bumps the wait time
to 12 seconds (2 for the sleep plus 10 seconds as a buffer).
Testing:
- Ran TestAsyncDDL.test_get_operation_status_for_async_ddl
locally
Change-Id: I547b8c0ccce79ebedb2b9a61e4d09e18b4acbbf8
Reviewed-on: http://gerrit.cloudera.org:8080/24625
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Arnab Karmakar <ar...@gmail.com>
Reviewed-by: Michael Smith <mi...@cloudera.com>
---
tests/metadata/test_ddl.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/metadata/test_ddl.py b/tests/metadata/test_ddl.py
index 338bb79d4..59e54245f 100644
--- a/tests/metadata/test_ddl.py
+++ b/tests/metadata/test_ddl.py
@@ -1117,7 +1117,9 @@ class TestAsyncDDL(TestDdlBase):
# enter FINISHED state after another delay of at least SLEEP_S.
assert client.get_impala_exec_state(handle) == PENDING
client.wait_for_impala_state(handle, RUNNING, SLEEP_S + 3)
- client.wait_for_impala_state(handle, FINISHED, SLEEP_S + 3)
+ # On slower builds, the query can take a while to complete. To avoid flakiness,
+ # allow the query to take up to 10 seconds beyond the sleep time.
+ client.wait_for_impala_state(handle, FINISHED, SLEEP_S + 10)
client.close_query(handle)
def test_get_operation_status_for_async_ddl(self, vector, unique_database):