IMPALA-4541: fix test dimensions for test_codegen_mem_limit The test should only be run with codegen enabled.
Change-Id: Iac460d2a1b69de638c557d7c8aa318a73ad0507b Reviewed-on: http://gerrit.cloudera.org:8080/5221 Reviewed-by: Alex Behm <[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/fe8d994f Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/fe8d994f Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/fe8d994f Branch: refs/heads/master Commit: fe8d994f0f320c541ff22fd15660a3d926c7d90b Parents: 3c65fa1 Author: Tim Armstrong <[email protected]> Authored: Fri Nov 25 00:13:58 2016 -0800 Committer: Internal Jenkins <[email protected]> Committed: Fri Nov 25 23:32:24 2016 +0000 ---------------------------------------------------------------------- tests/query_test/test_query_mem_limit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/fe8d994f/tests/query_test/test_query_mem_limit.py ---------------------------------------------------------------------- diff --git a/tests/query_test/test_query_mem_limit.py b/tests/query_test/test_query_mem_limit.py index ce12e41..161f714 100644 --- a/tests/query_test/test_query_mem_limit.py +++ b/tests/query_test/test_query_mem_limit.py @@ -26,9 +26,9 @@ from tests.beeswax.impala_beeswax import ImpalaBeeswaxException from tests.common.impala_test_suite import ImpalaTestSuite from tests.common.test_dimensions import ( TestDimension, + create_single_exec_option_dimension, create_uncompressed_text_dimension) - class TestQueryMemLimit(ImpalaTestSuite): """Test class to do functional validation of per query memory limits. @@ -115,6 +115,7 @@ class TestCodegenMemLimit(ImpalaTestSuite): @classmethod def add_test_dimensions(cls): super(TestCodegenMemLimit, cls).add_test_dimensions() + cls.TestMatrix.add_dimension(create_single_exec_option_dimension()) # Only run the query for parquet cls.TestMatrix.add_constraint( lambda v: v.get_value('table_format').file_format == 'parquet')
