Skip to content

Commit

Permalink
limit check_table_exists to 300s
Browse files Browse the repository at this point in the history
  • Loading branch information
maxshuang authored Jun 30, 2022
1 parent 2966604 commit fd0c594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/tidb_mysql_test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ echo "mysqltest end"
cd $CUR
mysql -h${UP_TIDB_HOST} -P${UP_TIDB_PORT} -uroot -e "create table test.finish_mark(id int primary key)"
# all tests will take too much time, how to optimize it?
check_table_exists test.finish_mark ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT} 2000
check_table_exists test.finish_mark ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT} 300
check_sync_diff $WORK_DIR $CUR/diff_config.toml
cleanup_process $CDC_BINARY
check_logs $WORK_DIR
Expand Down

0 comments on commit fd0c594

Please sign in to comment.