Wait double the time for container to start up

This commit is contained in:
Girish Ramakrishnan
2023-04-11 09:36:09 +02:00
parent 354eff93b7
commit 04bc1e8f56
+1 -1
View File
@@ -553,7 +553,7 @@ async function waitForContainer(containerName, tokenEnvName) {
const result = await getContainerDetails(containerName, tokenEnvName);
await promiseRetry({ times: 10, interval: 15000, debug }, async () => {
await promiseRetry({ times: 20, interval: 15000, debug }, async () => {
const [networkError, response] = await safe(superagent.get(`http://${result.ip}:3000/healthcheck?access_token=${result.token}`)
.timeout(5000)
.ok(() => true));