diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-03-15 15:01:47 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-03-16 20:08:42 +0300 |
commit | 3a773f4ecaf2655c03f877bf22416184ba87b5b6 (patch) | |
tree | 8330d78412322f4c0401f788424a320722232e2a /apps | |
parent | 08b91939199f7705a35f79d734f2f4bf6dafca4f (diff) |
Give swift 15 seconds after startup
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files_external/tests/env/start-swift-ceph.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/tests/env/start-swift-ceph.sh b/apps/files_external/tests/env/start-swift-ceph.sh index 357512ae4d6..e884087c248 100755 --- a/apps/files_external/tests/env/start-swift-ceph.sh +++ b/apps/files_external/tests/env/start-swift-ceph.sh @@ -63,14 +63,15 @@ echo "${docker_image} container: $container" # put container IDs into a file to drop them after the test run (keep in mind that multiple tests run in parallel on the same host) echo $container >> $thisFolder/dockerContainerCeph.$EXECUTOR_NUMBER.swift -echo -n "Waiting for ceph initialization" +echo "Waiting for ceph initialization" ready=$(timeout 600 cat "$notify_sock") if [[ $ready != 'READY=1' ]]; then echo "[ERROR] Waited 600 seconds, no response" >&2 docker logs $container exit 1 fi -sleep 1 +echo "Waiting another 15 seconds" +sleep 15 cat > $thisFolder/config.swift.php <<DELIM <?php |