提交 e382e7e0 authored 作者: Noel Grandin's avatar Noel Grandin

TestMultiThread needs more time to avoid lock timeout on busy machine

上级 cd144537
...@@ -76,7 +76,7 @@ public class TestMultiThread extends TestBase implements Runnable { ...@@ -76,7 +76,7 @@ public class TestMultiThread extends TestBase implements Runnable {
private void testConcurrentSchemaChange() throws Exception { private void testConcurrentSchemaChange() throws Exception {
String db = getTestName(); String db = getTestName();
deleteDb(db); deleteDb(db);
final String url = getURL(db + ";MULTI_THREADED=1", true); final String url = getURL(db + ";MULTI_THREADED=1;LOCK_TIMEOUT=10000", true);
Connection conn = getConnection(url); Connection conn = getConnection(url);
Task[] tasks = new Task[2]; Task[] tasks = new Task[2];
for (int i = 0; i < tasks.length; i++) { for (int i = 0; i < tasks.length; i++) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论