提交 a1992f62 authored 作者: Thomas Mueller's avatar Thomas Mueller

Don't stop the test when deleting files fails.

上级 fc6bfa94
...@@ -644,7 +644,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -644,7 +644,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
*/ */
void beforeTest() throws SQLException { void beforeTest() throws SQLException {
Driver.load(); Driver.load();
FileSystemDisk.getInstance().deleteRecursive(TestBase.BASE_TEST_DIR, false); FileSystemDisk.getInstance().deleteRecursive(TestBase.BASE_TEST_DIR, true);
DeleteDbFiles.execute(TestBase.BASE_TEST_DIR, null, true); DeleteDbFiles.execute(TestBase.BASE_TEST_DIR, null, true);
FileSystemDisk.getInstance().deleteRecursive("trace.db", false); FileSystemDisk.getInstance().deleteRecursive("trace.db", false);
if (networked) { if (networked) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论