Reduce the number of retries for wait-for-ocis-server

`curl` retries with exponantional backoff. 10 retries mean more than a
total of 16min wait time until we fail. This seems far too long. With 7
retries we should be at a bit more than 2 minutes max, if ocis takes
that long to start, something is likely broken in the infrastructure.
This commit is contained in:
Ralf Haferkamp
2022-06-23 13:21:33 +02:00
parent 917f099751
commit b2c304c5d8
+1 -1
View File
@@ -1593,7 +1593,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"name": "wait-for-ocis-server",
"image": OC_CI_ALPINE,
"commands": [
"curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'",
"curl -k -u admin:admin --fail --retry-connrefused --retry 7 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'",
],
"depends_on": depends_on,
}