1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 22:32:07 +01:00

Request deletion of temp test files upon exit

This commit is contained in:
Paul Schaub 2021-07-03 12:23:40 +02:00
parent c8a281d6a4
commit 863d443052
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -38,7 +38,7 @@ public class TestUtils {
public static File createTempDirectory() throws IOException { public static File createTempDirectory() throws IOException {
String name = randomString(10); String name = randomString(10);
File dir = Files.createTempDirectory(name).toFile(); File dir = Files.createTempDirectory(name).toFile();
// dir.deleteOnExit(); dir.deleteOnExit();
return dir; return dir;
} }