Repository: impala
Updated Branches:
  refs/heads/master 7376ca29b -> 8dcff3aa4


IMPALA-6613: Change TEST_KRPC to DISABLE_KRPC

This change renames the TEST_KRPC environment variable to DISABLE_KRPC
to reflect the fact that KRPC is now enabled by default.

Change-Id: I2081d9b53566607c25bcf84c4c92f13ee93be162
Reviewed-on: http://gerrit.cloudera.org:8080/9516
Reviewed-by: Dan Hecht <dhe...@cloudera.com>
Reviewed-by: Michael Ho <k...@cloudera.com>
Tested-by: Lars Volker <l...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/994272b6
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/994272b6
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/994272b6

Branch: refs/heads/master
Commit: 994272b684f1f04a4f27844aa9066e423615a28f
Parents: 7376ca2
Author: Lars Volker <l...@cloudera.com>
Authored: Tue Mar 6 13:38:12 2018 -0800
Committer: Lars Volker <l...@cloudera.com>
Committed: Tue Mar 6 23:39:36 2018 +0000

----------------------------------------------------------------------
 bin/run-all-tests.sh | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/994272b6/bin/run-all-tests.sh
----------------------------------------------------------------------
diff --git a/bin/run-all-tests.sh b/bin/run-all-tests.sh
index c5661c3..4ca0f54 100755
--- a/bin/run-all-tests.sh
+++ b/bin/run-all-tests.sh
@@ -38,10 +38,9 @@ if "${CLUSTER_DIR}/admin" is_kerberized; then
   KERB_ARGS="--use_kerberos"
 fi
 
-# Enable KRPC during tests (default: true).
-: ${TEST_KRPC:=true}
-
 # Parametrized Test Options
+# Disable KRPC for test cluster and test execution
+: ${DISABLE_KRPC:=false}
 # Run FE Tests
 : ${FE_TEST:=true}
 # Run Backend Tests
@@ -67,7 +66,7 @@ else
 fi
 
 # If KRPC tests are disabled, pass the flag to disable KRPC during cluster 
start.
-if [[ "${TEST_KRPC}" == "false" ]]; then
+if [[ "${DISABLE_KRPC}" == "true" ]]; then
   TEST_START_CLUSTER_ARGS="${TEST_START_CLUSTER_ARGS} --disable_krpc"
 fi
 
@@ -121,7 +120,7 @@ fi
 
 # If KRPC tests are disabled, pass test_no_krpc flag to pytest.
 # This includes the end-to-end tests and the custom cluster tests.
-if [[ "${TEST_KRPC}" == "false" ]]; then
+if [[ "${DISABLE_KRPC}" == "true" ]]; then
   COMMON_PYTEST_ARGS+=" --test_no_krpc"
 fi
 

Reply via email to