1
0

[MINOR] Prevent scalatest plugin from running in non-UTs (#1897)

This commit is contained in:
Raymond Xu
2020-08-02 20:33:58 -07:00
committed by GitHub
parent 4ebd2db05b
commit 8aa9142de8
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@
<artifactId>scalatest-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<skipTests>${skipTests}</skipTests>
<skipTests>${skipUTs}</skipTests>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>TestSuite.txt</filereports>

View File

@@ -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