Skip to content

Chrome DevTools for coding agents

test: run shutdown tests in parallel (#3174)

Alex Rudenkob66af7632cd7
diff --git a/tests/shutdown.test.ts b/tests/shutdown.test.ts
index 4abe3a67..a55a548a 100644
--- a/tests/shutdown.test.ts
+++ b/tests/shutdown.test.ts
@@ -168,7 +168,9 @@ async function setupServerWithRetry(): Promise<Server> {
throw lastError ?? new Error('Failed without an error');
}
-describe('shutdown', () => {
+// Each test starts its own server and Chrome, so the tests run in parallel.
+// The budget only measures the time from the signal to the process exit.
+describe('shutdown', {concurrency: true}, () => {
it('exits within budget on stdin EOF after Chrome launch', async () => {
const child = await setupServerWithRetry();
child.stdin.end();