Skip to content

Commit 80cd85e

Browse files
committed
test(ag-ui): raise e2e dev-server ready timeout 120s → 240s
The ag-ui e2e intermittently fails with 'Server did not become ready within 120000ms' — a cold CI runner re-optimizes vite deps on first serve (worse right after a lockfile change), exceeding the old window. Not a test/app failure.
1 parent 8ea2cf3 commit 80cd85e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/ag-ui/angular/e2e/global-setup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ export default async function globalSetup(): Promise<void> {
7878
angular.stdout?.on('data', (b) => process.stdout.write(`[angular] ${b}`));
7979
angular.stderr?.on('data', (b) => process.stderr.write(`[angular] ${b}`));
8080

81-
await waitForPort('http://localhost:4201/', 120_000);
81+
// 240s: a cold CI runner re-optimizes vite deps on first serve (especially
82+
// after a lockfile change), which can exceed the old 120s ready window.
83+
await waitForPort('http://localhost:4201/', 240_000);
8284
// eslint-disable-next-line no-console
8385
console.log('[aimock-e2e] angular ready on :4201');
8486

0 commit comments

Comments
 (0)