Browse Source

Wait for port being accessible in addition to the notify socket

pull/333/head
Thomas Müller 10 years ago
parent
commit
bac96e7ffc
No known key found for this signature in database GPG Key ID: A943788A3BBEC44C
  1. 5
      apps/files_external/tests/env/start-swift-ceph.sh

5
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

Loading…
Cancel
Save