Delete files after destroying processes that may be accessing them

Closes gh-25457
pull/25486/head
Andy Wilkinson 4 years ago
parent 8e67ae7113
commit c5cfb8750b

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

Loading…
Cancel
Save