IMPALA-3811: skip test_sequence_file_filtering_race against release builds The test_sequence_file_filtering_race test relies on a special Impala option that is only available in debug builds. The test needs to be skipped when running against release builds.
Change-Id: I903c263e93387af472bc32cab263dc69ae6250be Reviewed-on: http://gerrit.cloudera.org:8080/3548 Reviewed-by: Henry Robinson <[email protected]> Tested-by: Internal Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/cd2ee9ec Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/cd2ee9ec Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/cd2ee9ec Branch: refs/heads/master Commit: cd2ee9ecf9947644a582dd214a18b2f589c2439c Parents: a07fc36 Author: Michael Brown <[email protected]> Authored: Thu Jun 30 15:03:57 2016 -0700 Committer: Tim Armstrong <[email protected]> Committed: Tue Jul 5 13:37:26 2016 -0700 ---------------------------------------------------------------------- tests/custom_cluster/test_seq_file_filtering.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/cd2ee9ec/tests/custom_cluster/test_seq_file_filtering.py ---------------------------------------------------------------------- diff --git a/tests/custom_cluster/test_seq_file_filtering.py b/tests/custom_cluster/test_seq_file_filtering.py index 41d869b..7f47f4c 100644 --- a/tests/custom_cluster/test_seq_file_filtering.py +++ b/tests/custom_cluster/test_seq_file_filtering.py @@ -15,6 +15,7 @@ import pytest from tests.common.custom_cluster_test_suite import CustomClusterTestSuite +from tests.common.skip import SkipIfBuildType class TestImpala3798(CustomClusterTestSuite): """Regression test for IMPALA-3798, which is a hang that occurs when an Avro file is not @@ -28,6 +29,7 @@ class TestImpala3798(CustomClusterTestSuite): def get_workload(cls): return 'functional-query' + @SkipIfBuildType.not_dev_build @pytest.mark.execute_serially @CustomClusterTestSuite.with_args("--skip_file_runtime_filtering=true") def test_sequence_file_filtering_race(self, vector):
