mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-05 05:05:08 +02:00
fix: increase beforeAll timeout for browse pre-warm in CI
Bun's default beforeAll timeout is 5s but Chromium launch in CI Docker can take 10-20s. Set explicit 45s timeout on the beforeAll hook. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,9 +26,10 @@ describeIfSelected('Skill E2E tests', [
|
||||
tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'skill-e2e-'));
|
||||
setupBrowseShims(tmpDir);
|
||||
|
||||
// Pre-warm the browse server so Chromium is already launched for tests
|
||||
// Pre-warm the browse server so Chromium is already launched for tests.
|
||||
// In CI, Chromium can take 10-20s to launch (Docker + --no-sandbox).
|
||||
spawnSync(browseBin, ['goto', testServer.url], { cwd: tmpDir, timeout: 30000, stdio: 'pipe' });
|
||||
});
|
||||
}, 45_000);
|
||||
|
||||
afterAll(() => {
|
||||
testServer?.server?.stop();
|
||||
|
||||
Reference in New Issue
Block a user