diff --git a/packages/paperclip-runner/src/drivers/acpx/runtime-host.test.ts b/packages/paperclip-runner/src/drivers/acpx/runtime-host.test.ts index 215461af4f..c14950a81e 100644 --- a/packages/paperclip-runner/src/drivers/acpx/runtime-host.test.ts +++ b/packages/paperclip-runner/src/drivers/acpx/runtime-host.test.ts @@ -1068,7 +1068,12 @@ describe("ACPX runtime host", () => { }, fixture.dependencies({ openRuntime }), ); - await vi.waitFor(() => expect(openRuntime).toHaveBeenCalledOnce()); + // Real credential staging and tool-bridge startup can exceed Vitest's + // one-second waitFor default on a busy CI runner. Keep the admission live + // until it reaches the boundary this cancellation test is exercising. + await vi.waitFor(() => expect(openRuntime).toHaveBeenCalledOnce(), { + timeout: 5_000, + }); expect(receivedSignal).toBe(controller.signal); controller.abort(cancellation);