提交 7f6be99b authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 94415379
......@@ -383,12 +383,9 @@ public class TestCrashAPI extends TestBase {
public TestBase init(TestAll conf) throws Exception {
super.init(conf);
if (config.mvcc || config.networked) {
if (config.mvcc || config.networked || config.logMode == 0) {
return this;
}
if (config.logMode == 0) {
error("Log mode 0 may corrupt the db, can't test");
}
baseDir = "dataCrash";
startServerIfRequired();
TestScript script = new TestScript();
......@@ -412,7 +409,7 @@ public class TestCrashAPI extends TestBase {
}
public void test() throws Exception {
if (config.mvcc || config.networked) {
if (config.mvcc || config.networked || config.logMode == 0) {
return;
}
int len = getSize(2, 6);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论