You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2017/02/02 18:36:36 UTC

[2/3] incubator-impala git commit: IMPALA-4853: Skip test_kudu_dml_reporting if Kudu is not supported.

IMPALA-4853: Skip test_kudu_dml_reporting if Kudu is not supported.

This test is failing on distros that don't support Kudu, but it
shouldn't even be run.

Tested by setting KUDU_IS_SUPPORTED to false, and then trying to
run the test, confirming that it gets skipped. When the env var
KUDU_IS_SUPPORTED is true, the test runs.

Change-Id: Ia36319228d4e9cac9cb675f3207ef2ba39f24e7e
Reviewed-on: http://gerrit.cloudera.org:8080/5854
Reviewed-by: Michael Brown <mi...@cloudera.com>
Reviewed-by: Matthew Jacobs <mj...@cloudera.com>
Tested-by: Impala Public 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/a5b76895
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/a5b76895
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/a5b76895

Branch: refs/heads/master
Commit: a5b768953d3cff909f1ed1c5aa4e4607de062d08
Parents: 32ff959
Author: David Knupp <dk...@cloudera.com>
Authored: Wed Feb 1 10:06:06 2017 -0800
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Thu Feb 2 00:23:50 2017 +0000

----------------------------------------------------------------------
 tests/shell/test_shell_commandline.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/a5b76895/tests/shell/test_shell_commandline.py
----------------------------------------------------------------------
diff --git a/tests/shell/test_shell_commandline.py b/tests/shell/test_shell_commandline.py
index 3d1f9e3..62cb376 100644
--- a/tests/shell/test_shell_commandline.py
+++ b/tests/shell/test_shell_commandline.py
@@ -25,6 +25,7 @@ import signal
 from subprocess import call
 from tests.common.impala_service import ImpaladService
 from tests.common.impala_test_suite import ImpalaTestSuite
+from tests.common.skip import SkipIf
 from time import sleep
 from util import IMPALAD, SHELL_CMD
 from util import assert_var_substitution, run_impala_shell_cmd, ImpalaShell
@@ -475,6 +476,7 @@ class TestImpalaShell(ImpalaTestSuite):
         (expected_rows_modified, expected_row_errors)
     assert expected_output in results.stderr
 
+  @SkipIf.kudu_not_supported
   def test_kudu_dml_reporting(self, unique_database):
     db = unique_database
     run_impala_shell_cmd('--query="create table %s.dml_test (id int primary key, '\