From 0a2ec185067dc6d45bc77d625cb4ece6dd526151 Mon Sep 17 00:00:00 2001 From: hillium Date: Fri, 20 Dec 2024 20:55:04 +0800 Subject: [PATCH] print error when failed Signed-off-by: hillium --- br/tests/br_pitr/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/tests/br_pitr/run.sh b/br/tests/br_pitr/run.sh index 1efa08d3b8ab9..f8cfec9e8a648 100644 --- a/br/tests/br_pitr/run.sh +++ b/br/tests/br_pitr/run.sh @@ -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