diff --git a/tests/common/skip.py b/tests/common/skip.py index a340360ae..21bbfddad 100644 --- a/tests/common/skip.py +++ b/tests/common/skip.py @@ -195,6 +195,7 @@ class SkipIfEC: fix_later = pytest.mark.skipif(IS_EC, reason="It should work but doesn't.") contain_full_explain = pytest.mark.skipif(IS_EC, reason="Contain full explain output " "for hdfs tables.") + different_schedule = pytest.mark.skipif(IS_EC, reason="Query is scheduled differently.") class SkipIfDockerizedCluster: diff --git a/tests/custom_cluster/test_runtime_profile.py b/tests/custom_cluster/test_runtime_profile.py index 73d7b50be..933ad7c18 100644 --- a/tests/custom_cluster/test_runtime_profile.py +++ b/tests/custom_cluster/test_runtime_profile.py @@ -17,6 +17,7 @@ import pytest from tests.common.custom_cluster_test_suite import CustomClusterTestSuite +from tests.common.skip import SkipIfEC class TestRuntimeProfile(CustomClusterTestSuite): @@ -28,6 +29,7 @@ class TestRuntimeProfile(CustomClusterTestSuite): PERIODIC_COUNTER_UPDATE_FLAG = '--periodic_counter_update_period_ms=50' + @SkipIfEC.different_schedule @pytest.mark.execute_serially @CustomClusterTestSuite.with_args('--gen_experimental_profile=true ' + PERIODIC_COUNTER_UPDATE_FLAG)