mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 19:35:13 +01:00
test: drain heartbeat execution before cleanup
This commit is contained in:
1 parent
08089e7ef3
commit
6c67a5b000
1 file changed
+1
@@ -219,6 +219,7 @@ describeEmbeddedPostgres("heartbeat bounded retry scheduling", () => {
|
||||
expect(failedRun?.status).toBe("failed");
|
||||
expect(failedRun?.errorCode).toBe("provider_quota");
|
||||
expect((failedRun?.resultJson as Record<string, unknown> | null)?.errorFamily).toBe("provider_quota");
|
||||
await heartbeat.waitForRunExecutionDrain(run!.id);
|
||||
|
||||
await expect
|
||||
.poll(
|
||||
|
||||
Reference in new issue
Block a user