Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-1114] Remove temp directory without FileUtils.forceDeleteOnExit #1131

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

jackylee-ch
Copy link
Contributor

What changes were proposed in this pull request?

FileUtils.forceDeleteOnExit won't delete the files that are added after function calls, and it will fail to delete the directory. Thus we add new hook to delete the directory.

How was this patch tested?

unit tests.

@github-actions
Copy link

#1114

@zhouyuan
Copy link
Collaborator

@jackylee-ch works for me, thanks for the fix!

@zhouyuan zhouyuan merged commit 75f685c into oap-project:main Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants