mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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.
This commit is contained in:
+1
-1
@@ -762,7 +762,7 @@ export const createServer = async (
|
||||
async function waitForPort(
|
||||
port: number,
|
||||
host = "0.0.0.0",
|
||||
timeout = 30000,
|
||||
timeout = 60_000,
|
||||
): Promise<void> {
|
||||
const start = Date.now();
|
||||
while (Date.now() - start < timeout) {
|
||||
|
||||
Reference in New Issue
Block a user