Skip to content

Commit

Permalink
fix big txn integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Apr 2, 2024
1 parent 619b5ad commit 207491d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/integration_tests/kafka_big_txn_v2/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,9 @@ function run() {
check_table_exists "big_txn.usertable" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT}
run_sql "CREATE TABLE big_txn.usertable1 LIKE big_txn.usertable" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
run_sql "INSERT INTO big_txn.usertable1 SELECT * FROM big_txn.usertable" ${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);"
run_sql "CREATE TABLE big_txn.finish_mark (a int primary key);"
sleep 120
check_table_exists "big_txn.finish_mark_1" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT} 60
check_table_exists "big_txn.finish_mark" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT} 120

check_sync_diff $WORK_DIR $CUR/conf/diff_config.toml

Expand Down

0 comments on commit 207491d

Please sign in to comment.