diff --git a/rivetkit-typescript/packages/rivetkit/tests/driver/actor-sleep-db.test.ts b/rivetkit-typescript/packages/rivetkit/tests/driver/actor-sleep-db.test.ts index c472778304..bccb80e1f2 100644 --- a/rivetkit-typescript/packages/rivetkit/tests/driver/actor-sleep-db.test.ts +++ b/rivetkit-typescript/packages/rivetkit/tests/driver/actor-sleep-db.test.ts @@ -206,8 +206,10 @@ describeDriverMatrix("Actor Sleep Db", (driverTestConfig) => { expect(counts.startCount).toBe(2); }, { - timeout: 5_000, - interval: 50, + timeout: 10_000, + // Each poll is an actor action, so a tight interval can keep the + // actor awake and prevent the idle sleep this assertion observes. + interval: SLEEP_DB_TIMEOUT + 250, }, );