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

Fix test cases.

上级 a1992f62
......@@ -297,7 +297,7 @@ java org.h2.test.TestAll timer
test.printSystem();
System.setProperty("h2.maxMemoryRowsDistinct", "128");
System.setProperty("h2.check2", "true");
// System.setProperty("h2.syncMethod", "");
/*
......@@ -305,6 +305,8 @@ test with small freeList pages, page size 64
comparative sql tests
ValueDecimal.getMemory() is slow
power failure test
power failure test: MULTI_THREADED=TRUE
power failure test: larger binaries and additional index.
......
......@@ -44,10 +44,12 @@ public class TestPowerOff extends TestBase {
}
if (config.big || config.googleAppEngine) {
dir = getBaseDir();
url = dbName;
} else {
dir = "memFS:";
url = "memFS:/" + dbName;
}
url = dir + "/" + dbName + ";FILE_LOCK=NO;TRACE_LEVEL_FILE=0";
url += ";FILE_LOCK=NO;TRACE_LEVEL_FILE=0";
testSummaryCrash();
testCrash();
testShutdown();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论