mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 09:07:46 +02:00
revert: remove unnecessary waitFor timeout increase in batching test
The test passes fine with the default timeout. The 30s override was committed without verifying it was needed. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
4161af67d1
commit
cb9c690bf3
1 file changed
+1
-1
@@ -402,7 +402,7 @@ describe("heartbeat comment wake batching", () => {
|
||||
|
||||
gateway.releaseFirstWait();
|
||||
|
||||
await waitFor(() => gateway.getAgentPayloads().length === 2, 30_000);
|
||||
await waitFor(() => gateway.getAgentPayloads().length === 2);
|
||||
await waitFor(async () => {
|
||||
const runs = await db.select().from(heartbeatRuns).where(eq(heartbeatRuns.agentId, agentId));
|
||||
return runs.length === 2 && runs.every((run) => run.status === "succeeded");
|
||||
|
||||
Reference in new issue
Block a user