提交 72959173 authored 作者: andrei's avatar andrei

increase timeout for multithreaded test only

上级 0b437c95
......@@ -49,12 +49,6 @@ public class TestFullText extends TestBase {
TestBase.createCaller().init().test();
}
@Override
public TestBase init(TestAll conf) throws Exception {
conf.lockTimeout = 60000;
return super.init(conf);
}
@Override
public void test() throws Exception {
testUuidPrimaryKey(false);
......@@ -261,7 +255,7 @@ public class TestFullText extends TestBase {
int len = 2;
Task[] task = new Task[len];
for (int i = 0; i < len; i++) {
final Connection conn = getConnection("fullText", connList);
final Connection conn = getConnection("fullText;LOCK_TIMEOUT=60000", connList);
Statement stat = conn.createStatement();
initFullText(stat, lucene);
initFullText(stat, lucene);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论