From 25d256e7e0d886771a8bffe29bca37e0db9df8ce Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 11 Feb 2025 18:45:12 +0000 Subject: [PATCH] chore(site/e2e): increase timeout for waitForPort from 30s to 60s (#16528) Relates to https://github.com/coder/internal/issues/356 This is just a temporary fix; we may need to remove the hardcoded ports to avoid this flake entirely. --- site/e2e/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/e2e/helpers.ts b/site/e2e/helpers.ts index 49cad287c8..d00d94c71b 100644 --- a/site/e2e/helpers.ts +++ b/site/e2e/helpers.ts @@ -762,7 +762,7 @@ export const createServer = async ( async function waitForPort( port: number, host = "0.0.0.0", - timeout = 30000, + timeout = 60_000, ): Promise { const start = Date.now(); while (Date.now() - start < timeout) {