codope commented on code in PR #12680:
URL: https://github.com/apache/hudi/pull/12680#discussion_r1923723323


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSecondaryIndexPruning.scala:
##########
@@ -62,6 +62,12 @@ import scala.concurrent.{Await, ExecutionContext, Future}
 @Tag("functional")
 class TestSecondaryIndexPruning extends SparkClientFunctionalTestHarness {
 
+  def repeatTest(times: Int)(test: => Unit): Unit = {
+    for (_ <- 1 to times) {
+      test
+    }
+  }

Review Comment:
   I guess this was for local testing? If so, please remove it from this PR. I 
think it would be better if we add retry api in some super class so that devs 
can easily run scala test N times. But, that can be in a separate PR.



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