diff --git a/pkg/config/config_test_data.go b/pkg/config/config_test_data.go index cbdf5e259fa..17e17c06c0b 100644 --- a/pkg/config/config_test_data.go +++ b/pkg/config/config_test_data.go @@ -97,7 +97,7 @@ const ( "key-path": "", "cert-allowed-cn": null }, - "per-table-memory-quota": 10485760, + "per-table-memory-quota": 36700160, "kv-client": { "worker-concurrent": 8, "worker-pool-size": 0, diff --git a/tests/integration_tests/big_txn/conf/workload b/tests/integration_tests/big_txn/conf/workload index b18022b5f16..23c9f38ed3f 100644 --- a/tests/integration_tests/big_txn/conf/workload +++ b/tests/integration_tests/big_txn/conf/workload @@ -1,5 +1,5 @@ -threadcount=32 -recordcount=5000 +threadcount=1 +recordcount=10000 operationcount=0 workload=core fieldcount=100 diff --git a/tests/integration_tests/big_txn/data/test.sql b/tests/integration_tests/big_txn/data/test.sql index 05eb2bbc00e..d720261aad5 100644 --- a/tests/integration_tests/big_txn/data/test.sql +++ b/tests/integration_tests/big_txn/data/test.sql @@ -106,4 +106,4 @@ CREATE TABLE `usertable1` ( PRIMARY KEY (`YCSB_KEY`) /*T![clustered_index] NONCLUSTERED */ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; -INSERT INTO usertable1 SELECT * FROM usertable; \ No newline at end of file +INSERT INTO usertable1 SELECT * FROM usertable; diff --git a/tests/integration_tests/big_txn/run.sh b/tests/integration_tests/big_txn/run.sh index c1a39802a9b..1b057f34320 100755 --- a/tests/integration_tests/big_txn/run.sh +++ b/tests/integration_tests/big_txn/run.sh @@ -36,6 +36,7 @@ function run() { check_table_exists "big_txn.usertable" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT} run_sql_file $CUR/data/test.sql ${UP_TIDB_HOST} ${UP_TIDB_PORT} + sleep 60 check_table_exists "big_txn.usertable1" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT} run_sql "CREATE TABLE big_txn.finish_mark_1 (a int primary key);"