This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new cd6d701b0877 [SPARK-53859][BUILD][TESTS] Upgrade `JUnit` to 6.0.0
cd6d701b0877 is described below
commit cd6d701b0877c2e0f637c8ba6a25589411dbf46a
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Oct 9 22:10:23 2025 -0700
[SPARK-53859][BUILD][TESTS] Upgrade `JUnit` to 6.0.0
### What changes were proposed in this pull request?
This PR aims to upgrade `JUnit` to 6.0.0 for Apache Spark 4.1.0.
### Why are the changes needed?
JUnit 6 is released finally.
- https://docs.junit.org/6.0.0/release-notes/ (2025-09-30)
- Minimum required Java version is 17.
- Single version number for Platform, Jupiter, and Vintage
### Does this PR introduce _any_ user-facing change?
No behavior change because this is a test dependency.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #52561 from dongjoon-hyun/SPARK-53859.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
pom.xml | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/pom.xml b/pom.xml
index a14a86efa174..38f27f93f5e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -220,8 +220,7 @@
<netty.version>4.2.6.Final</netty.version>
<netty-tcnative.version>2.0.74.Final</netty-tcnative.version>
<icu4j.version>77.1</icu4j.version>
- <junit-jupiter.version>5.13.4</junit-jupiter.version>
- <junit-platform.version>1.13.4</junit-platform.version>
+ <junit.version>6.0.0</junit.version>
<!--
SPARK-50299: When updating `sbt-jupiter-interface.version`,
also need to update the version in `SparkBuild.scala` and `plugins.sbt`.
@@ -1271,43 +1270,43 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
- <version>${junit-jupiter.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
- <version>${junit-jupiter.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
- <version>${junit-jupiter.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
- <version>${junit-jupiter.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
- <version>${junit-platform.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-engine</artifactId>
- <version>${junit-platform.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
- <version>${junit-platform.version}</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]