mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
test: expect cursor projection after recovery log append
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
6704f322cd
commit
664036ed7e
1 file changed
+1
@@ -213,6 +213,7 @@ describeEmbeddedPostgres("native runner restart recovery with real processes", (
|
||||
.resolves.toMatchObject({ claims: [], awaitingEvidenceRunIds: [waiting.runId] });
|
||||
} finally { await heartbeat.drainActiveRunExecutions(); }
|
||||
expect(await state()).toEqual({ ...before, run: [{ ...before.run[0],
|
||||
eventCursorProjectionSeq: before.run[0].nextEventSeq,
|
||||
nextEventSeq: before.run[0].nextEventSeq + 1, updatedAt: expect.any(Date) }] });
|
||||
|
||||
await waiting.db.update(issues).set({ executionRunId: null }).where(eq(issues.id, holder.issueId));
|
||||
|
||||
Reference in new issue
Block a user