diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_abfs_access_key_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_abfs_access_key_tests.sh index 915aa4a16732..72f684e41a20 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_abfs_access_key_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_abfs_access_key_tests.sh @@ -26,7 +26,7 @@ stop_unnecessary_hadoop_services # run product tests pushd $PROJECT_ROOT set +e -./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-access-key \ +./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-access-key \ -DHADOOP_USER_NAME=hive \ -Dhive.hadoop2.metastoreHost=localhost \ -Dhive.hadoop2.metastorePort=9083 \ diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_abfs_oauth_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_abfs_oauth_tests.sh index cac02c3b56d9..a889a5e8cafd 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_abfs_oauth_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_abfs_oauth_tests.sh @@ -27,7 +27,7 @@ stop_unnecessary_hadoop_services pushd $PROJECT_ROOT set +e -./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-oauth \ +./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-oauth \ -DHADOOP_USER_NAME=hive \ -Dhive.hadoop2.metastoreHost=localhost \ -Dhive.hadoop2.metastorePort=9083 \ diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_adl_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_adl_tests.sh index 7fe0b2bfaef4..2f8431fd88ad 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_adl_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_adl_tests.sh @@ -26,7 +26,7 @@ stop_unnecessary_hadoop_services # run product tests pushd $PROJECT_ROOT set +e -./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-adl \ +./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-adl \ -DHADOOP_USER_NAME=hive \ -Dhive.hadoop2.metastoreHost=localhost \ -Dhive.hadoop2.metastorePort=9083 \ diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_alluxio_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_alluxio_tests.sh index 0097729ace84..8792b770282a 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_alluxio_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_alluxio_tests.sh @@ -56,7 +56,7 @@ function main () { # run product tests pushd ${PROJECT_ROOT} set +e - ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-alluxio \ + ./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-alluxio \ -Dhive.hadoop2.alluxio.host=localhost \ -Dhive.hadoop2.alluxio.port=19998 \ -Dhive.hadoop2.hiveVersionMajor="${TESTS_HIVE_VERSION_MAJOR}" \ diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh index b27b4aee5d6f..5fb0247ac662 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_s3_tests.sh @@ -53,7 +53,7 @@ retry check_hadoop # run product tests pushd "${PROJECT_ROOT}" set +e -./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-s3 \ +./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-s3 \ -DHADOOP_USER_NAME=hive \ -Dhive.hadoop2.metastoreHost=localhost \ -Dhive.hadoop2.metastorePort=9083 \ diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_tests.sh index 9ec8b801df32..4464625f95d9 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_tests.sh @@ -21,7 +21,7 @@ HADOOP_MASTER_IP=$(hadoop_master_ip) # run product tests pushd "${PROJECT_ROOT}" set +e -./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2 \ +./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2 \ -DHADOOP_USER_NAME=hive \ -Dhive.hadoop2.metastoreHost=localhost \ -Dhive.hadoop2.metastorePort=9083 \ diff --git a/plugin/trino-hive-hadoop2/bin/run_hive_wasb_tests.sh b/plugin/trino-hive-hadoop2/bin/run_hive_wasb_tests.sh index 53b659268219..7fd794f9f39f 100755 --- a/plugin/trino-hive-hadoop2/bin/run_hive_wasb_tests.sh +++ b/plugin/trino-hive-hadoop2/bin/run_hive_wasb_tests.sh @@ -26,7 +26,7 @@ stop_unnecessary_hadoop_services # run product tests pushd $PROJECT_ROOT set +e -./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-wasb \ +./mvnw ${MAVEN_TEST:--B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-wasb \ -DHADOOP_USER_NAME=hive \ -Dhive.hadoop2.metastoreHost=localhost \ -Dhive.hadoop2.metastorePort=9083 \ diff --git a/testing/trino-test-jdbc-compatibility-old-driver/bin/run_tests.sh b/testing/trino-test-jdbc-compatibility-old-driver/bin/run_tests.sh index 0cbadf61d71c..d594b7213acf 100755 --- a/testing/trino-test-jdbc-compatibility-old-driver/bin/run_tests.sh +++ b/testing/trino-test-jdbc-compatibility-old-driver/bin/run_tests.sh @@ -4,7 +4,7 @@ set -xeuo pipefail trap "exit" INT # allows to terminate script on ctrl+c instead of terminating single mvnw execution maven="${BASH_SOURCE%/*}/../../../mvnw" -maven_run_tests="${maven} clean test -Dair.check.skip-all=true -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -B -pl :trino-test-jdbc-compatibility-old-driver" +maven_run_tests="${maven} clean test ${MAVEN_TEST:--B} -pl :trino-test-jdbc-compatibility-old-driver" "${maven}" -version