Skip to content

Commit

Permalink
br: Fix unstable s3 test (again) (#33666)
Browse files Browse the repository at this point in the history
close #33644
  • Loading branch information
YuJuncen authored Apr 2, 2022
1 parent 9b358bc commit b857293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/tests/br_s3/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ start_s3() {
s3_pid=$!
i=0
status="$(curl -o /dev/null -v -s "http://$S3_ENDPOINT/" -w '%{http_code}' || true)"
while ! [ "$status" -gt 0 ] && [ "$status" -lt 500 ]; do
while ! { [ "$status" -gt 0 ] && [ "$status" -lt 500 ]; } ; do
i=$(($i+1))
if [ $i -gt 30 ]; then
echo 'Failed to start minio'
Expand Down

0 comments on commit b857293

Please sign in to comment.