提交 6ca8e8dd authored 作者: Noel Grandin's avatar Noel Grandin

dial the multi-thread tests down to fix CI

上级 0d532981
...@@ -390,7 +390,7 @@ public class TestMultiThread extends TestBase implements Runnable { ...@@ -390,7 +390,7 @@ public class TestMultiThread extends TestBase implements Runnable {
conn.createStatement().execute( conn.createStatement().execute(
"CREATE TABLE IF NOT EXISTS TRAN (ID NUMBER(18,0) not null PRIMARY KEY)"); "CREATE TABLE IF NOT EXISTS TRAN (ID NUMBER(18,0) not null PRIMARY KEY)");
final int threadCount = 100; final int threadCount = 25;
final ArrayList<Callable<Void>> callables = new ArrayList<Callable<Void>>(); final ArrayList<Callable<Void>> callables = new ArrayList<Callable<Void>>();
for (int i = 0; i < threadCount; i++) { for (int i = 0; i < threadCount; i++) {
final Connection taskConn = getConnection(url); final Connection taskConn = getConnection(url);
...@@ -450,7 +450,7 @@ public class TestMultiThread extends TestBase implements Runnable { ...@@ -450,7 +450,7 @@ public class TestMultiThread extends TestBase implements Runnable {
mergeAcctStmt.execute(); mergeAcctStmt.execute();
} }
final int threadCount = 100; final int threadCount = 25;
final ArrayList<Callable<Void>> callables = new ArrayList<Callable<Void>>(); final ArrayList<Callable<Void>> callables = new ArrayList<Callable<Void>>();
for (int i = 0; i < threadCount; i++) { for (int i = 0; i < threadCount; i++) {
final Connection taskConn = getConnection(url); final Connection taskConn = getConnection(url);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论