Skip to content

Commit

Permalink
increase data size
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCheung96 committed Jun 14, 2022
1 parent 1d5b00d commit 6a451ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/config/config_test_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tests/integration_tests/big_txn/conf/workload
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
threadcount=32
recordcount=5000
threadcount=1
recordcount=10000
operationcount=0
workload=core
fieldcount=100
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/big_txn/data/test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
INSERT INTO usertable1 SELECT * FROM usertable;
1 change: 1 addition & 0 deletions tests/integration_tests/big_txn/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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);"

Expand Down

0 comments on commit 6a451ea

Please sign in to comment.