提交 8930b7ab authored 作者: Andrei Tokar's avatar Andrei Tokar

increase lock timeout to TestConcurrentUpdate due to Travis failures

上级 e8f99400
...@@ -45,7 +45,7 @@ public class TestConcurrentUpdate extends TestDb { ...@@ -45,7 +45,7 @@ public class TestConcurrentUpdate extends TestDb {
@Override @Override
public void test() throws Exception { public void test() throws Exception {
deleteDb("concurrent"); deleteDb("concurrent");
final String url = getURL("concurrent", true); final String url = getURL("concurrent;LOCK_TIMEOUT=2000", true);
try (Connection conn = getConnection(url)) { try (Connection conn = getConnection(url)) {
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("create table test(id int primary key, name varchar)"); stat.execute("create table test(id int primary key, name varchar)");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论