From b7432cd68af26bf6ede67911b9f5aefd4aad783d Mon Sep 17 00:00:00 2001 From: Lenni Kuff Date: Thu, 13 Mar 2014 07:35:46 -0700 Subject: [PATCH] Constrain test_explain to run only on text/none table format The tests expect to be run against text/none tables which causes failures on exhaustive test runs. I don't think it adds any extra coverage to run these tests against lzo format so added a constraint. Change-Id: Ib0878e2ba84107c9df4499def304fe45ba4fe4b4 Reviewed-on: http://gerrit.ent.cloudera.com:8080/1884 Reviewed-by: Lenni Kuff Tested-by: Lenni Kuff Reviewed-on: http://gerrit.ent.cloudera.com:8080/1964 Tested-by: jenkins --- tests/query_test/test_explain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/query_test/test_explain.py b/tests/query_test/test_explain.py index c144153ff..b4d95adc1 100644 --- a/tests/query_test/test_explain.py +++ b/tests/query_test/test_explain.py @@ -24,6 +24,7 @@ class TestExplain(ImpalaTestSuite): super(TestExplain, cls).add_test_dimensions() cls.TestMatrix.add_constraint(lambda v:\ v.get_value('table_format').file_format == 'text' and\ + v.get_value('table_format').compression_codec == 'none' and\ v.get_value('exec_option')['batch_size'] == 0 and\ v.get_value('exec_option')['disable_codegen'] == False and\ v.get_value('exec_option')['num_nodes'] != 1)