未验证 提交 acfdee2f 编写于 作者: H HTHou

fix test

上级 a9b2e87b
......@@ -175,7 +175,7 @@ public class EnvironmentUtils {
}
public static void cleanDir(String dir) throws IOException {
FileUtils.deleteDirectory(new File(dir));
FileUtils.deleteQuietly(new File(dir));
}
/**
......
......@@ -52,7 +52,6 @@ public class WriteLogNodeTest {
public void setUp() throws Exception {
enableWal = config.isEnableWal();
config.setEnableWal(true);
config.setEnableVm(false);
EnvironmentUtils.envSetUp();
}
......@@ -60,7 +59,6 @@ public class WriteLogNodeTest {
public void tearDown() throws Exception {
EnvironmentUtils.cleanEnv();
config.setEnableWal(enableWal);
config.setEnableVm(true);
}
@Test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册