Skip to content

Commit 6bd33d5

Browse files
authored
test: allow restart recovery to settle (#32)
1 parent 2aabd27 commit 6bd33d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/server.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,7 @@ test("restart resolves a persisted started pending attempt at the next idle", as
23902390
const context = { sessionID: "ses_1" } as never
23912391
await requireTool(tools1.create_goal, "create_goal").execute({ objective: "keep going" }, context)
23922392
await hooks1.event!({ event: { type: "session.idle", properties: { sessionID: "ses_1" } } as never })
2393-
await waitFor(() => firstCalls.length === 1)
2393+
await waitForLong(() => firstCalls.length === 1, 5_000)
23942394
await hooks1.event!({
23952395
event: { type: "session.status", properties: { sessionID: "ses_1", status: { type: "busy" } } } as never,
23962396
})

0 commit comments

Comments
 (0)