Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
jiawen li
tidb
Commits
b8572931
Unverified
Commit
b8572931
authored
3 years ago
by
山岚
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
br: Fix unstable s3 test (again) (#33666)
close pingcap/tidb#33644
parent
9b358bc7
master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
br/tests/br_s3/run.sh
+1
-1
br/tests/br_s3/run.sh
with
1 addition
and
1 deletion
+1
-1
br/tests/br_s3/run.sh
+
1
-
1
View file @
b8572931
...
...
@@ -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'
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help