Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3ddde070
Commit
3ddde070
authored
Jan 07, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3309 from brendandburns/race
Add some retry around the wget, in an effort to deflake the test
parents
e421e6ee
eda47206
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
services.sh
hack/e2e-suite/services.sh
+11
-1
No files found.
hack/e2e-suite/services.sh
View file @
3ddde070
...
@@ -249,7 +249,17 @@ function verify_from_container() {
...
@@ -249,7 +249,17 @@ function verify_from_container() {
sudo docker pull busybox >/dev/null;
sudo docker pull busybox >/dev/null;
sudo docker run busybox sh -c '
sudo docker run busybox sh -c '
for i in
$(
seq
-s
' '
1
$4
)
; do
for i in
$(
seq
-s
' '
1
$4
)
; do
wget -q -T 1 -O - http://
$2
:
$3
;
ok=false
for j in
$(
seq
-s
' '
1 10
)
; do
if wget -q -T 1 -O - http://
$2
:
$3
; then
ok=true
break
fi
sleep 1
done
if [[
\$
{ok} == false ]]; then
exit 1
fi
done
done
'"
)
)
\
'"
)
)
\
||
error
"testing
$1
portal from container failed"
||
error
"testing
$1
portal from container failed"
...
...
Write
Preview
Markdown
is supported
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