Delete files after destroying processes that may be accessing them

Closes gh-25457
This commit is contained in:
Andy Wilkinson 2021-03-03 16:41:34 +00:00
parent 8e67ae7113
commit c5cfb8750b
1 changed files with 1 additions and 1 deletions

View File

@ -97,8 +97,8 @@ class EmbeddedServerContainerInvocationContextProvider
@Override
public void afterAll(ExtensionContext context) throws Exception {
FileSystemUtils.deleteRecursively(this.tempDir);
cleanupCaches();
FileSystemUtils.deleteRecursively(this.tempDir);
}
private void cleanupCaches() {