mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14171: Deflake TestQueryExecTimeLimit.test_exec_time_limit_long_plan
The test expects a "SELECT..LIMIT 1" query on tpch.lineitem to finish in 2s. This could be impacted by other concurrent tests when memory reservation is used up. This patch marks the test to run serially to avoid the impact from other tests. Change-Id: Ibbb2f1a34e24c83a3d2c69d2daa4dece8d94ec1e Reviewed-on: http://gerrit.cloudera.org:8080/23351 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
048b5689fd
commit
669d74f467
@@ -17,6 +17,7 @@
|
||||
|
||||
from __future__ import absolute_import
|
||||
from tests.common.impala_test_suite import ImpalaTestSuite
|
||||
import pytest
|
||||
|
||||
|
||||
class TestQueryExecTimeLimit(ImpalaTestSuite):
|
||||
@@ -39,9 +40,11 @@ class TestQueryExecTimeLimit(ImpalaTestSuite):
|
||||
"Unexpected exception: {}".format(e)
|
||||
)
|
||||
|
||||
@pytest.mark.execute_serially
|
||||
def test_exec_time_limit_long_plan(self):
|
||||
"""Test that queries with a long planning time completing within
|
||||
exec_time_limit_s succeed."""
|
||||
exec_time_limit_s succeed. Run this test serially to avoid impact from other
|
||||
concurrent tests."""
|
||||
exec_options = dict()
|
||||
exec_options['exec_time_limit_s'] = "2"
|
||||
# Set debug action to wait in the plan phase for 10s.
|
||||
|
||||
Reference in New Issue
Block a user