IMPALA-12144: Skip TestTpcdsQueryWithProcessingCost if dockerised

There is a sign of flakiness in TestTpcdsQueryWithProcessingCost within
dockerised environment. The flakiness seems to happen due to tighter
per-process memory limit in dockerised environment. This patch skip
TestTpcdsQueryWithProcessingCost in dockerised environment.

Testing:
- Hack SkipIfDockerizedCluster.insufficient_mem_limit to return True if
  IS_HDFS and confirm that the whole TestTpcdsQueryWithProcessingCost is
  skipped.

Change-Id: Ibb6b2d4258a2c6613d1954552f21641b42cb3c38
Reviewed-on: http://gerrit.cloudera.org:8080/19892
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:
Riza Suminto
2023-05-15 13:53:08 -07:00
committed by Impala Public Jenkins
parent cf28a4c529
commit baddaf2241
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ from __future__ import absolute_import, division, print_function
import pytest
from tests.common.impala_test_suite import ImpalaTestSuite
from tests.common.skip import SkipIfDockerizedCluster
from tests.common.test_dimensions import (
create_single_exec_option_dimension,
is_supported_insert_format)
@@ -743,6 +744,7 @@ class TestTpcdsUnmodified(ImpalaTestSuite):
self.run_test_case('tpcds-q89', vector)
@SkipIfDockerizedCluster.insufficient_mem_limit
class TestTpcdsQueryWithProcessingCost(TestTpcdsQuery):
@classmethod
def get_workload(cls):