mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 22:24:16 +01:00
fix: retain recovery handling for startup Stop deadlines
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
c9e95797d7
commit
74bd68d8be
4 files changed
+10
-5
No files matched your search
@@ -4984,7 +4984,7 @@ describe("native session cancellation", () => {
|
||||
// Let the durable intent commit before advancing the startup deadline.
|
||||
await new Promise(resolve => setImmediate(resolve));
|
||||
await vi.advanceTimersByTimeAsync(30_000);
|
||||
expect(await stopping).toMatchObject({ message: "native_cancellation_startup_not_ready" });
|
||||
expect(await stopping).toMatchObject({ name: "NativeCancellationPendingRecoveryError" });
|
||||
expect(persistence.getResultJson().nativeCancellation).toMatchObject({ dispatchState: "pending" });
|
||||
vi.useRealTimers();
|
||||
open(); await outcome;
|
||||
|
||||
Reference in new issue
Block a user