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:
Devin FoleyandPaperclip committed 2026-04-08 17:23:46 -07:00
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");