impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tarmstr...@apache.org
Subject [2/4] incubator-impala git commit: IMPALA-4287: EE tests fail to run when KUDU_IS_SUPPORTED=false
Date Thu, 13 Oct 2016 06:58:06 GMT
IMPALA-4287: EE tests fail to run when KUDU_IS_SUPPORTED=false

When Kudu tests were added to the functional-query test
dimensions, we needed to make sure the dimension was skipped
when KUDU_IS_SUPPORTED=false.

Change-Id: Ib97572b94c54bb36ad1d7184aa45744e8a42ffa4
Reviewed-on: http://gerrit.cloudera.org:8080/4697
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
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/f2780b56
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/f2780b56
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/f2780b56

Branch: refs/heads/master
Commit: f2780b567b33c9f57ffeefbf82a41d67cd0bb14d
Parents: ef4c995
Author: Matthew Jacobs <mj@cloudera.com>
Authored: Wed Oct 12 13:35:21 2016 -0700
Committer: Internal Jenkins <cloudera-hudson@gerrit.cloudera.org>
Committed: Thu Oct 13 01:28:10 2016 +0000

----------------------------------------------------------------------
 tests/common/test_dimensions.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/f2780b56/tests/common/test_dimensions.py
----------------------------------------------------------------------
diff --git a/tests/common/test_dimensions.py b/tests/common/test_dimensions.py
index c7bebb4..95195df 100644
--- a/tests/common/test_dimensions.py
+++ b/tests/common/test_dimensions.py
@@ -184,6 +184,10 @@ def load_table_info_dimension(workload_name, exploration_strategy, file_formats=
       vals = dict((key.strip(), value.strip()) for key, value in\
           (item.split(':') for item in line.split(',')))
 
+      # Skip Kudu if Kudu is not supported (IMPALA-4287).
+      if os.environ['KUDU_IS_SUPPORTED'] != 'true' and vals['file_format'] == 'kudu':
+        continue
+
       # If only loading specific file formats skip anything that doesn't match
       if file_formats is not None and vals['file_format'] not in file_formats:
         continue


Mime
View raw message