Skip to content

Commit

Permalink
Fix regression test run.sh script (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
adutra authored Jan 10, 2025
1 parent 81de1a2 commit 9db2892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regtests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9db2892

Please sign in to comment.