Skip to content

Comments

[SPARK-39466][CORE][TESTS] Ensure clean core/temp-secrets/ directory after SecurityManagerSuite#36867

Closed
LuciferYang wants to merge 1 commit intoapache:masterfrom
LuciferYang:SPARK-39466
Closed

[SPARK-39466][CORE][TESTS] Ensure clean core/temp-secrets/ directory after SecurityManagerSuite#36867
LuciferYang wants to merge 1 commit intoapache:masterfrom
LuciferYang:SPARK-39466

Conversation

@LuciferYang
Copy link
Contributor

What changes were proposed in this pull request?

This pr refactor createTempSecretFile in SecurityManagerSuite to ensure clean core/temp-secrets/ directory after SecurityManagerSuite.

Why are the changes needed?

To ensure clean core/temp-secrets/ directory after SecurityManagerSuite.

Does this PR introduce any user-facing change?

No

How was this patch tested?

  • Pass Github Actions
  • Manual test

run following commands:

mvn clean install -DskipTests -pl core -am 
mvn clean test -Dtest=none -DwildcardSuites=org.apache.spark.SecurityManagerSuite -pl core  
git status

Before

The core/temp-secrets/ directory is not cleaned up

After

The core/temp-secrets/ directory has been cleaned up

@LuciferYang LuciferYang changed the title [SPARK-39466][TESTS] Ensure clean core/temp-secrets/ directory after SecurityManagerSuite [SPARK-39466][CORE][TESTS] Ensure clean core/temp-secrets/ directory after SecurityManagerSuite Jun 14, 2022
@github-actions github-actions bot added the CORE label Jun 14, 2022
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @LuciferYang .
Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants