You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-53712] Fix spark-operator to use JUnit 5 instead of JUnit 4
### What changes were proposed in this pull request?
This PR aims to fix `spark-operator` module to use `JUnit 5` correctly instead of the transitive `JUnit 4` dependency.
### Why are the changes needed?
`Apache Spark K8s Operator` should use `JUnit 5` consistently.
https://github.com/apache/spark-kubernetes-operator/blob/a0929a4023f7a0f9eba5765fdb47e17228d68a0e/gradle/libs.versions.toml#L26
**BEFORE**
```
$ gradle :spark-operator:dependencies | grep ' junit:junit' | wc -l
3
```
**AFTER**
```
$ gradle :spark-operator:dependencies | grep ' junit:junit' | wc -l
0
```
### Does this PR introduce _any_ user-facing change?
No, this is a test code and dependency change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closesapache#344 from dongjoon-hyun/SPARK-53712.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Copy file name to clipboardExpand all lines: spark-operator/src/test/java/org/apache/spark/k8s/operator/metrics/source/KubernetesMetricsInterceptorTest.java
0 commit comments