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

this test not supported in multithreaded mode

comment even says so
上级 037f1cdf
......@@ -32,9 +32,10 @@ public class TestMvccMultiThreaded extends TestBase {
public void test() throws Exception {
testMergeWithUniqueKeyViolation();
testConcurrentMerge();
testConcurrentUpdate("");
// not supported currently
// testConcurrentUpdate(";MULTI_THREADED=TRUE");
if (!config.multiThreaded) {
testConcurrentUpdate();
}
}
private void testMergeWithUniqueKeyViolation() throws Exception {
......@@ -91,13 +92,13 @@ public class TestMvccMultiThreaded extends TestBase {
deleteDb(getTestName());
}
private void testConcurrentUpdate(String suffix) throws Exception {
private void testConcurrentUpdate() throws Exception {
deleteDb(getTestName());
int len = 2;
final Connection[] connList = new Connection[len];
for (int i = 0; i < len; i++) {
connList[i] = getConnection(
getTestName() + ";MVCC=TRUE" + suffix);
getTestName() + ";MVCC=TRUE");
}
Connection conn = connList[0];
conn.createStatement().execute(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论