This is an automated email from the ASF dual-hosted git repository.
yufei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 9db2892e Fix regression test run.sh script (#698)
9db2892e is described below
commit 9db2892ec4fb8a37395b02246b413a8723eddc03
Author: Alexandre Dutra <[email protected]>
AuthorDate: Fri Jan 10 22:11:50 2025 +0100
Fix regression test run.sh script (#698)
---
regtests/run.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regtests/run.sh b/regtests/run.sh
index 2fad67df..679dc2cb 100755
--- a/regtests/run.sh
+++ b/regtests/run.sh
@@ -22,7 +22,7 @@
export SPARK_VERSION=spark-3.5.3
export SPARK_DISTRIBUTION=${SPARK_VERSION}-bin-hadoop3
-if [ -z "${SPARK_HOME}"]; then
+if [ -z "${SPARK_HOME}" ]; then
export SPARK_HOME=$(realpath ~/${SPARK_DISTRIBUTION})
fi
export
PYTHONPATH="${SPARK_HOME}/python/:${SPARK_HOME}/python/lib/py4j-0.10.9.7-src.zip:$PYTHONPATH"
@@ -91,7 +91,7 @@ for TEST_FILE in ${TEST_LIST}; do
fi
fi
if [[ "${TEST_SHORTNAME}" =~ .*.s3_cross_region.*.sh ]]; then
- if [ -z "$AWS_CROSS_REGION_TEST_ENABLED" ] || [
"$AWS_CROSS_REGION_TEST_ENABLED" != "true" ] ] ; then
+ if [ -z "$AWS_CROSS_REGION_TEST_ENABLED" ] || [
"$AWS_CROSS_REGION_TEST_ENABLED" != "true" ] ; then
loginfo "AWS cross region tests not enabled, skip running test
${TEST_FILE}"
continue
fi