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/b98ec452 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/b98ec452 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/b98ec452 Branch: refs/heads/2.x Commit: b98ec45249eb007707de615485dee0d774c24993 Parents: a8630cf Author: Lars Volker <l...@cloudera.com> Authored: Tue Mar 6 13:38:12 2018 -0800 Committer: Impala Public Jenkins <impala-public-jenk...@gerrit.cloudera.org> Committed: Wed Mar 7 19:32:21 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/b98ec452/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