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