提交 61cb7d14 authored 作者: Noel Grandin's avatar Noel Grandin

dial multi-thread tests back even more

CI still failing, maybe we have a memory leak somewhere in the tests?
上级 940e61fb
......@@ -404,7 +404,7 @@ public class TestMultiThread extends TestBase implements Runnable {
@Override
public Void call() throws Exception {
long tranId = initialTransactionId;
for (int j = 0; j < 10000; j++) {
for (int j = 0; j < 1000; j++) {
insertTranStmt.setLong(1, tranId++);
insertTranStmt.execute();
taskConn.commit();
......@@ -461,7 +461,7 @@ public class TestMultiThread extends TestBase implements Runnable {
callables.add(new Callable<Void>() {
@Override
public Void call() throws Exception {
for (int j = 0; j < 10000; j++) {
for (int j = 0; j < 1000; j++) {
updateAcctStmt.setDouble(1, Math.random());
updateAcctStmt.setLong(2, (int) (Math.random() * OBJ_CNT));
updateAcctStmt.execute();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论