the-other-tim-brown commented on code in PR #13546:
URL: https://github.com/apache/hudi/pull/13546#discussion_r2205162076


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/TestExpressionIndex.scala:
##########
@@ -880,15 +879,14 @@ class TestExpressionIndex extends HoodieSparkSqlTestBase {
     }
   }
 
-  @Test
-  def testPrunePartitions(): Unit = {
+  test("Test Prune Partitions") {
     withTempDir { tmp =>
       Seq("cow", "mor").foreach { tableType =>
         val tableName = generateTableName + s"_prune_partitions_$tableType"
         val basePath = s"${tmp.getCanonicalPath}/$tableName"
 
         spark.sql("set hoodie.fileIndex.dataSkippingFailureMode=strict")
-
+        setCompactionConfigs(tableType)

Review Comment:
   The tests running in the junit java suite were not shutting down the spark 
context because there is no cleanup step specified. Once those tests are moved 
to run in the scala-test suite though, the ordering of the tests will cause 
failures.



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