wombatu-kun commented on code in PR #19932:
URL: https://github.com/apache/hudi/pull/19932#discussion_r4692233281


##########
.github/workflows/bot.yml:
##########
@@ -1092,6 +1092,15 @@ jobs:
           SPARK_MODULES: ${{ matrix.sparkModules }}
         run:
           mvn test -Pfunctional-tests-b -Pjava17 -D"$SCALA_PROFILE" 
-D"$SPARK_PROFILE" -pl "$SPARK_COMMON_MODULES,$SPARK_MODULES" $MVN_ARGS 
-Djacoco.skip=false
+      # The suites of scala-other-2's packages that build their own 
SparkContext (about two
+      # minutes). The shared-session suites of the same packages run in 
scala-other-2.
+      - name: Scala UT - remaining packages, own SparkContext
+        env:
+          SCALA_PROFILE: ${{ matrix.scalaProfile }}
+          SPARK_PROFILE: ${{ matrix.sparkProfile }}
+          SPARK_MODULES: ${{ matrix.sparkModules }}
+        run:
+          mvn test -Punit-tests -Pjava17 -D"$SCALA_PROFILE" -D"$SPARK_PROFILE" 
-Dtest=skipJavaTests $SCALA_TEST_OTHERS2_FILTER 
-Dsurefire.failIfNoSpecifiedTests=false -pl 
"hudi-common,$SPARK_COMMON_MODULES,$SPARK_MODULES" $MVN_ARGS 
-Djacoco.skip=false 
-Dhudi.scalatest.tagsToExclude=org.apache.hudi.functional.SparkSQLCoreFlow,org.apache.spark.sql.hudi.common.SharedSessionSuite

Review Comment:
   Non-blocking: this extra Maven invocation repeats the FTB reactor setup for 
the remaining Scala suites. Could we enable ScalaTest in the existing FTB 
invocation with `-DskipUTs=false`, `$SCALA_TEST_OTHERS2_FILTER`, and 
`-Dhudi.scalatest.tagsToExclude=org.apache.hudi.functional.SparkSQLCoreFlow,org.apache.spark.sql.hudi.common.SharedSessionSuite`
 instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to