提交 e9b9edb6 authored 作者: Andrei Tokar's avatar Andrei Tokar

speed up tests by eliminating compaction on db closure

上级 afbd0f53
......@@ -97,7 +97,7 @@ public abstract class TestDb extends TestBase {
}
if (config.mvStore) {
url = addOption(url, "MV_STORE", "true");
// url = addOption(url, "MVCC", "true");
url = addOption(url, "MAX_COMPACT_TIME", "0"); // to speed up tests
} else {
url = addOption(url, "MV_STORE", "false");
}
......
......@@ -41,7 +41,7 @@ public class TestDriver extends TestDb {
prop.put("password", getPassword());
prop.put("max_compact_time", "1234");
prop.put("unknown", "1234");
String url = getURL("driver", true);
String url = getURL("jdbc:h2:mem:driver", true);
Connection conn = DriverManager.getConnection(url, prop);
ResultSet rs;
rs = conn.createStatement().executeQuery(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论