From 8aa9142de85e7a87f42ee43659024cb10c7b43a7 Mon Sep 17 00:00:00 2001 From: Raymond Xu <2701446+xushiyan@users.noreply.github.com> Date: Sun, 2 Aug 2020 20:33:58 -0700 Subject: [PATCH] [MINOR] Prevent scalatest plugin from running in non-UTs (#1897) --- hudi-spark/pom.xml | 2 +- scripts/run_travis_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hudi-spark/pom.xml b/hudi-spark/pom.xml index e670ff729..3dfe87ce8 100644 --- a/hudi-spark/pom.xml +++ b/hudi-spark/pom.xml @@ -132,7 +132,7 @@ scalatest-maven-plugin 1.0 - ${skipTests} + ${skipUTs} ${project.build.directory}/surefire-reports . TestSuite.txt diff --git a/scripts/run_travis_tests.sh b/scripts/run_travis_tests.sh index 3921cc8ea..63fb959c9 100755 --- a/scripts/run_travis_tests.sh +++ b/scripts/run_travis_tests.sh @@ -22,7 +22,7 @@ sparkVersion=2.4.4 hadoopVersion=2.7 if [ "$mode" = "unit" ]; then - mvn clean install -Punit-tests -DskipTests -q + mvn clean install -DskipTests -q echo "Running Unit Tests" mvn test -Punit-tests -pl "$modules" -B elif [ "$mode" = "functional" ]; then