File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
plugin/trino-hive-hadoop2/bin
testing/trino-test-jdbc-compatibility-old-driver/bin Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ stop_unnecessary_hadoop_services
2626# run product tests
2727pushd $PROJECT_ROOT
2828set +e
29- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-access-key \
29+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-access-key \
3030 -DHADOOP_USER_NAME=hive \
3131 -Dhive.hadoop2.metastoreHost=localhost \
3232 -Dhive.hadoop2.metastorePort=9083 \
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ stop_unnecessary_hadoop_services
2727
2828pushd $PROJECT_ROOT
2929set +e
30- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-oauth \
30+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-abfs-oauth \
3131 -DHADOOP_USER_NAME=hive \
3232 -Dhive.hadoop2.metastoreHost=localhost \
3333 -Dhive.hadoop2.metastorePort=9083 \
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ stop_unnecessary_hadoop_services
2626# run product tests
2727pushd $PROJECT_ROOT
2828set +e
29- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-adl \
29+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-adl \
3030 -DHADOOP_USER_NAME=hive \
3131 -Dhive.hadoop2.metastoreHost=localhost \
3232 -Dhive.hadoop2.metastorePort=9083 \
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function main () {
5656 # run product tests
5757 pushd ${PROJECT_ROOT}
5858 set +e
59- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-alluxio \
59+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-alluxio \
6060 -Dhive.hadoop2.alluxio.host=localhost \
6161 -Dhive.hadoop2.alluxio.port=19998 \
6262 -Dhive.hadoop2.hiveVersionMajor=" ${TESTS_HIVE_VERSION_MAJOR} " \
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ retry check_hadoop
5353# run product tests
5454pushd " ${PROJECT_ROOT} "
5555set +e
56- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-s3 \
56+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-s3 \
5757 -DHADOOP_USER_NAME=hive \
5858 -Dhive.hadoop2.metastoreHost=localhost \
5959 -Dhive.hadoop2.metastorePort=9083 \
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ HADOOP_MASTER_IP=$(hadoop_master_ip)
2121# run product tests
2222pushd " ${PROJECT_ROOT} "
2323set +e
24- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2 \
24+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2 \
2525 -DHADOOP_USER_NAME=hive \
2626 -Dhive.hadoop2.metastoreHost=localhost \
2727 -Dhive.hadoop2.metastorePort=9083 \
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ stop_unnecessary_hadoop_services
2626# run product tests
2727pushd $PROJECT_ROOT
2828set +e
29- ./mvnw -B -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-wasb \
29+ ./mvnw ${MAVEN_TEST :- -B} -pl :trino-hive-hadoop2 test -P test-hive-hadoop2-wasb \
3030 -DHADOOP_USER_NAME=hive \
3131 -Dhive.hadoop2.metastoreHost=localhost \
3232 -Dhive.hadoop2.metastorePort=9083 \
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -xeuo pipefail
44trap " exit" INT # allows to terminate script on ctrl+c instead of terminating single mvnw execution
55
66maven=" ${BASH_SOURCE%/* } /../../../mvnw"
7- 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"
7+ maven_run_tests=" ${maven} clean test ${MAVEN_TEST :- -B} -pl :trino-test-jdbc-compatibility-old-driver"
88
99" ${maven} " -version
1010
You can’t perform that action at this time.
0 commit comments