Wait double the time for container to start up
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user