Browse Source
Wait for port being accessible in addition to the notify socket
pull/333/head
Thomas Müller
10 years ago
No known key found for this signature in database
GPG Key ID: A943788A3BBEC44C
1 changed files with
5 additions and
0 deletions
-
apps/files_external/tests/env/start-swift-ceph.sh
|
|
|
@ -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 |
|
|
|
|
|
|
|
|