Skip to content

Commit

Permalink
fix int test
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Mou <[email protected]>
  • Loading branch information
Tristan1900 committed Jan 13, 2025
1 parent 95627b9 commit 1eee968
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions br/tests/br_pitr_table_filter/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ test_table_rename() {

run_br --pd "$PD_ADDR" restore point -s "local://$TEST_DIR/$TASK_NAME/log" --full-backup-storage "local://$TEST_DIR/$TASK_NAME/full" -f "$DB.log*"

verify_tables "log_backup" 3 true
verify_tables "log_backup" 3 false
verify_tables "log_backup_renamed" 3 true
verify_tables "log_backup_renamed_in" 3 true

verify_tables "full_backup" 3 false
Expand Down Expand Up @@ -422,7 +423,7 @@ test_exchange_partition() {

restart_services || { echo "Failed to restart services"; exit 1; }

run_br --pd "$PD_ADDR" restore point -s "local://$TEST_DIR/$TASK_NAME/log" --full-backup-storage "local://$TEST_DIR/$TASK_NAME/full" -f "$DB.*"
run_br --pd "$PD_ADDR" restore point -s "local://$TEST_DIR/$TASK_NAME/log" --full-backup-storage "local://$TEST_DIR/$TASK_NAME/full" -f "$DB.log*"

# verify the results
run_sql "SELECT count(*) = 1 FROM $DB.log_after_exchange WHERE id = 1 AND value = 1" || {
Expand Down

0 comments on commit 1eee968

Please sign in to comment.