diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-16 23:53:09 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-16 23:53:09 +0300 |
commit | 24dcdf9d5c768d48e33131a4642ed372b3896be4 (patch) | |
tree | 8330d78412322f4c0401f788424a320722232e2a | |
parent | 08b91939199f7705a35f79d734f2f4bf6dafca4f (diff) | |
parent | 3a773f4ecaf2655c03f877bf22416184ba87b5b6 (diff) |
Merge pull request #23324 from owncloud/stable9-backport-23253
[stable9] Give swift 15 seconds after startup
-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 |