From a1f9e52c05071c227b6166555bab01351b3e45eb Mon Sep 17 00:00:00 2001 From: willbot Date: Wed, 15 Jul 2026 23:01:04 +0200 Subject: [PATCH] test(cli): raise node-compat smoke test timeout to 15s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The two node-compat tests each spawn a separate node process and used bun test`s default 5000ms timeout. They failed three CI runs on dependabot PRs #65 and #73 at 5.06s–5.51s while passing locally in ~40ms: loaded 2-core CI runners push the node spawn just past 5s. Give each a 15000ms timeout so CI load cannot flake them. Co-Authored-By: Claude Fable 5 Signed-off-by: willbot Signed-off-by: Will Madden --- .../3-tooling/cli/src/__tests__/node-compat.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/0-framework/3-tooling/cli/src/__tests__/node-compat.test.ts b/packages/0-framework/3-tooling/cli/src/__tests__/node-compat.test.ts index b8911ace..66938b08 100644 --- a/packages/0-framework/3-tooling/cli/src/__tests__/node-compat.test.ts +++ b/packages/0-framework/3-tooling/cli/src/__tests__/node-compat.test.ts @@ -18,7 +18,7 @@ describe('node compatibility smoke test', () => { expect(result.stderr).toContain('prisma-composer deploy'); expect(result.stderr).toContain('prisma-composer destroy'); expect(result.stderr).toContain(''); - }); + }, 15000); test('an unknown command under node prints usage and exits nonzero', () => { const result = spawnSync('node', [binPath, 'build', 'src/service.ts'], { encoding: 'utf8' }); @@ -26,5 +26,5 @@ describe('node compatibility smoke test', () => { expect(result.status).not.toBe(0); expect(result.stderr).toContain('prisma-composer deploy'); expect(result.stderr).toContain('prisma-composer destroy'); - }); + }, 15000); });