Skip to content

Commit

Permalink
print error when failed
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <[email protected]>
  • Loading branch information
YuJuncen committed Dec 20, 2024
1 parent 1e64c17 commit 0a2ec18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/tests/br_pitr/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fi
echo "run pitr"
run_sql "DROP DATABASE __TiDB_BR_Temporary_Log_Restore_Checkpoint;"
run_sql "DROP DATABASE __TiDB_BR_Temporary_Custom_SST_Restore_Checkpoint;"
run_br --pd $PD_ADDR restore point -s "local://$TEST_DIR/$PREFIX/log" --full-backup-storage "local://$TEST_DIR/$PREFIX/full" > $res_file 2>&1
run_br --pd $PD_ADDR restore point -s "local://$TEST_DIR/$PREFIX/log" --full-backup-storage "local://$TEST_DIR/$PREFIX/full" > $res_file 2>&1 || ( cat $res_file && exit 1 )

check_result

Expand Down

0 comments on commit 0a2ec18

Please sign in to comment.