Skip to content

Commit

Permalink
Update br/tests/br_other/run.sh
Browse files Browse the repository at this point in the history
Co-authored-by: kennytm <kennytm@gmail.com>
  • Loading branch information
3pointer and kennytm authored Dec 6, 2021
1 parent 9f4c9e9 commit 55a37e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/tests/br_other/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ run_curl https://$PD_ADDR/pd/api/v1/config/schedule | jq '."max-merge-region-key

backup_fail=0
# generate 1.sst to make another backup failed.
touch /$TEST_DIR/$DB/lock/1.sst
touch "$TEST_DIR/$DB/lock/1.sst"
echo "another backup start expect to fail due to last backup add a lockfile"
run_br --pd $PD_ADDR backup full -s "local://$TEST_DIR/$DB/lock" --concurrency 4 || backup_fail=1
if [ "$backup_fail" -ne "1" ];then
Expand Down

0 comments on commit 55a37e9

Please sign in to comment.