bump timeout when waiting for container
some server disks are very slow
This commit is contained in:
@@ -579,7 +579,7 @@ async function waitForContainer(containerName, tokenEnvName) {
|
||||
|
||||
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)
|
||||
.timeout(20000)
|
||||
.ok(() => true));
|
||||
|
||||
if (networkError) throw new BoxError(BoxError.ADDONS_ERROR, `Network error waiting for ${containerName}: ${networkError.message}`);
|
||||
|
||||
Reference in New Issue
Block a user