Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
755c86e3
Commit
755c86e3
authored
Jun 21, 2016
by
Vincent Petry
Committed by
GitHub
Jun 21, 2016
Browse files
Merge pull request #24505 from owncloud/ceph-wait-for-http
Don't rely on the notify socket but on the service responding
parents
7f22aeb5
bac96e7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/files_external/tests/env/start-swift-ceph.sh
View file @
755c86e3
...
...
@@ -74,6 +74,11 @@ if [[ $ready != 'READY=1' ]]; then
docker logs
$container
exit
1
fi
if
!
"
$thisFolder
"
/env/wait-for-connection
${
host
}
80 600
;
then
echo
"[ERROR] Waited 600 seconds, no response"
>
&2
docker logs
$container
exit
1
fi
echo
"Waiting another 15 seconds"
sleep
15
...
...
autotest.sh
View file @
755c86e3
...
...
@@ -192,8 +192,8 @@ function execute_tests {
DATABASEHOST
=
$(
docker inspect
--format
=
"{{.NetworkSettings.IPAddress}}"
"
$DOCKER_CONTAINER_ID
"
)
echo
"Waiting for MySQL initialisation ..."
if
!
apps/files_external/tests/env/wait-for-connection
$DATABASEHOST
3306 60
;
then
echo
"[ERROR] Waited 60 seconds, no response"
>
&2
if
!
apps/files_external/tests/env/wait-for-connection
$DATABASEHOST
3306 60
0
;
then
echo
"[ERROR] Waited 60
0
seconds, no response"
>
&2
exit
1
fi
...
...
@@ -221,8 +221,8 @@ function execute_tests {
DATABASEHOST
=
$(
docker inspect
--format
=
"{{.NetworkSettings.IPAddress}}"
"
$DOCKER_CONTAINER_ID
"
)
echo
"Waiting for MariaDB initialisation ..."
if
!
apps/files_external/tests/env/wait-for-connection
$DATABASEHOST
3306 60
;
then
echo
"[ERROR] Waited 60 seconds, no response"
>
&2
if
!
apps/files_external/tests/env/wait-for-connection
$DATABASEHOST
3306 60
0
;
then
echo
"[ERROR] Waited 60
0
seconds, no response"
>
&2
exit
1
fi
...
...
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