forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-39701][CORE][K8S][TESTS] Move
withSecretFile
to `SparkFunSui…
…te` to reuse ### What changes were proposed in this pull request? This PR aims to move `withSecretFile` to `SparkFunSuite` and reuse it in Kubernetes tests. ### Why are the changes needed? Currently, K8s unit tests generate a leftover because it doesn't clean up the temporary secret files. By reusing the existing method, we can avoid this ``` $ build/sbt -Pkubernetes "kubernetes/test" $ git status On branch master Your branch is up to date with 'apache/master'. Untracked files: (use "git add <file>..." to include in what will be committed) resource-managers/kubernetes/core/temp-secret/ ``` ### Does this PR introduce _any_ user-facing change? No. This is a test-only change. ### How was this patch tested? Pass the CIs. Closes apache#37106 from dongjoon-hyun/SPARK-39701. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
- Loading branch information
1 parent
9983bdb
commit 1cf4fe5
Showing
3 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters