Closed jackylee-ch closed 1 year ago
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.
unit tests.
https://github.com/oap-project/native-sql-engine/issues/1114
@jackylee-ch works for me, thanks for the fix!
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.