sarutak opened a new pull request, #54281: URL: https://github.com/apache/spark/pull/54281
### What changes were proposed in this pull request? This PR fixes an issue that `TestFrameworks.JUnit` is still used even though newer jupiter plugin (`com.github.sbt.junit.sbt-jupiter-interface`) is used. As a result, `-Dtests.include.tags` and `-Dtests.exclude.tags` don't work. ``` $ build/sbt -Dtest.include.tags=org.apache.spark.tags.SlowHiveTest unsafe/test ... [info] Run completed in 2 seconds, 877 milliseconds. [info] Total number of tests run: 0 [info] Suites: completed 2, aborted 0 [info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0 [info] No tests were executed. [info] Passed: Total 97, Failed 0, Errors 0, Passed 97 ``` ### Why are the changes needed? Bug fix. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Confirmed `-Dtests.exclude.tags` works. ``` $ build/sbt -Dtest.include.tags=org.apache.spark.tags.SlowHiveTest unsafe/test ... [info] Run completed in 738 milliseconds. [info] Total number of tests run: 0 [info] Suites: completed 2, aborted 0 [info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0 [info] No tests were executed. [info] Passed: Total 0, Failed 0, Errors 0, Passed 0 [success] Total time: 2 s, completed 2026/02/12 19:33:53 ``` There are no tagged `.java` tests so I didn't confirm if `-Dtest.exclude.tags` works. ### Was this patch authored or co-authored using generative AI tooling? No. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
