You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by cs...@apache.org on 2019/06/04 14:00:55 UTC
[impala] branch master updated: Disable custom cluster/service FE
tests on S3
This is an automated email from the ASF dual-hosted git repository.
csringhofer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 0b564ec Disable custom cluster/service FE tests on S3
0b564ec is described below
commit 0b564ec374c6e7e50f70fc7607fa4205fecf1916
Author: Hao Hao <ha...@cloudera.com>
AuthorDate: Mon Jun 3 10:08:23 2019 -0700
Disable custom cluster/service FE tests on S3
This patch disables the custom cluster/service FE tests when running
against S3, as only S3 FE tests should be ran under such environment.
Change-Id: Iaa95fb1cef6349afafe3fd3677df74f7fa225245
Reviewed-on: http://gerrit.cloudera.org:8080/13500
Tested-by: Tim Armstrong <ta...@cloudera.com>
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
---
bin/run-all-tests.sh | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/bin/run-all-tests.sh b/bin/run-all-tests.sh
index 83fb80d..a7e7d34 100755
--- a/bin/run-all-tests.sh
+++ b/bin/run-all-tests.sh
@@ -246,13 +246,15 @@ do
fi
export IMPALA_MAX_LOG_FILES="${IMPALA_MAX_LOG_FILES_SAVE}"
- # Run the FE custom cluster tests.
- pushd "${IMPALA_FE_DIR}"
- MVN_ARGS=" -Dtest=org.apache.impala.custom*.*Test "
- if ! "${IMPALA_HOME}/bin/mvn-quiet.sh" -fae test ${MVN_ARGS}; then
- TEST_RET_CODE=1
+ # Run the FE custom cluster tests only if not running against S3.
+ if [[ "$FE_TEST" == true && "${TARGET_FILESYSTEM}" != "s3" ]]; then
+ pushd "${IMPALA_FE_DIR}"
+ MVN_ARGS=" -Dtest=org.apache.impala.custom*.*Test "
+ if ! "${IMPALA_HOME}/bin/mvn-quiet.sh" -fae test ${MVN_ARGS}; then
+ TEST_RET_CODE=1
+ fi
+ popd
fi
- popd
fi
# Run the process failure tests.