Skip to content

Commit

Permalink
br: fix the integration tests (#30423)
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer authored Dec 6, 2021
1 parent 464db6b commit 7203707
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 193 deletions.
181 changes: 0 additions & 181 deletions br/tests/br_log_restore/run.sh

This file was deleted.

12 changes: 0 additions & 12 deletions br/tests/br_log_restore/workload

This file was deleted.

2 changes: 2 additions & 0 deletions br/tests/br_other/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ run_curl https://$PD_ADDR/pd/api/v1/config/schedule | jq '."max-merge-region-siz
run_curl https://$PD_ADDR/pd/api/v1/config/schedule | jq '."max-merge-region-keys"' | grep -E "^0$"

backup_fail=0
# generate 1.sst to make another backup failed.
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 7203707

Please sign in to comment.