Unverified Commit b8572931 authored by 山岚's avatar 山岚 Committed by GitHub
Browse files

br: Fix unstable s3 test (again) (#33666)

close pingcap/tidb#33644
parent 9b358bc7
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment