Skip to content

Commit 0fccaad

Browse files
committed
test: give the 202-turn chat room test 30 seconds
The pinned message test makes 202 durable turns in order. It takes about half a second on a laptop, but CI on the 1.0.3 merge commit took 5.6 seconds in the quality job, where 81 test files run in parallel under coverage, and the default 5 second limit failed the run. Other tests with this much durable work set their own limit.
1 parent 5eeb935 commit 0fccaad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/compare-chat-room.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe("the ChatRoom actor", () => {
146146
const snapshot = await runtime.ref(ChatRoom, "general").snapshot(asMember("ada"))
147147
expect(snapshot.messages.some((message) => message.sequence === sequence)).toBe(false)
148148
expect(snapshot.pinned).toEqual({ sequence, authorId: "ada", text: "Read the rules" })
149-
})
149+
}, 30_000)
150150

151151
it("ignores an archive reminder that was queued behind newer activity", async () => {
152152
const runtime = await startRuntime()

0 commit comments

Comments
 (0)