提交 0cb7fbe9 authored 作者: Andrei Tokar's avatar Andrei Tokar

change test lockTimeout

上级 04a7dc4e
......@@ -371,7 +371,7 @@ java org.h2.test.TestAll timer
/**
* The lock timeout to use
*/
public int lockTimeout = 5000;
public int lockTimeout = 50;
/**
* If the transaction log should be kept small (that is, the log should be
......
......@@ -306,7 +306,7 @@ public abstract class TestBase {
} else if (config.throttle > 0) {
url = addOption(url, "THROTTLE", "" + config.throttle);
}
url = addOption(url, "LOCK_TIMEOUT", "" + config.lockTimeout);
url = addOption(url, "LOCK_TIMEOUT", String.valueOf(config.lockTimeout * (config.mvStore ? 100 : 1)));
if (config.diskUndo && admin) {
url = addOption(url, "MAX_MEMORY_UNDO", "3");
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论