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

increase locktimeout for testConcurrentInsert

workaround jenkins failures
上级 4de13b24
...@@ -381,7 +381,7 @@ public class TestMultiThread extends TestBase implements Runnable { ...@@ -381,7 +381,7 @@ public class TestMultiThread extends TestBase implements Runnable {
private void testConcurrentInsert() throws Exception { private void testConcurrentInsert() throws Exception {
deleteDb("lockMode"); deleteDb("lockMode");
final String url = getURL("lockMode;MULTI_THREADED=1", true); final String url = getURL("lockMode;MULTI_THREADED=1;LOCK_TIMEOUT=10000", true);
int threadCount = 25; int threadCount = 25;
ExecutorService executor = Executors.newFixedThreadPool(threadCount); ExecutorService executor = Executors.newFixedThreadPool(threadCount);
Connection conn = getConnection(url); Connection conn = getConnection(url);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论