Skip to content

Commit fb2f4ee

Browse files
Remove testing related files after tests finish
They are included in the gitignore, but confusing when they just hang around.
1 parent 20740c4 commit fb2f4ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

proxyserver/src/test/java/edu/suffolk/litlab/efsp/db/DatabaseVersionTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.InputStream;
1616
import java.io.OutputStream;
1717
import java.net.URISyntaxException;
18+
import java.nio.file.Files;
19+
import java.nio.file.Path;
1820
import java.security.NoSuchAlgorithmException;
1921
import java.sql.Connection;
2022
import java.sql.PreparedStatement;
@@ -109,9 +111,12 @@ public void setUp()
109111
}
110112

111113
@AfterEach
112-
public void cleanUp() {
114+
public void cleanUp() throws IOException {
113115
codeDb.close();
114116
userDb.close();
117+
118+
Files.delete(Path.of("tyler_efm_codes_v0_1_truncated.tar"));
119+
Files.delete(Path.of("tyler_efm_codes_v0_1_truncated.sql"));
115120
}
116121

117122
@Test

0 commit comments

Comments
 (0)