mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 04:02:18 +01:00
test(runner): bound ACPX admission wait on CI
This commit is contained in:
1 parent
439419debb
commit
3a615a4743
1 file changed
+6
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user