mirror of
https://github.com/stablyai/orca.git
synced 2026-10-23 08:03:39 +00:00
test(runtime): isolate mailbox timer assertion
This commit is contained in:
@@ -35686,6 +35686,9 @@ describe('OrcaRuntimeService', () => {
|
||||
|
||||
it('leaves later delivery to the idle edge instead of polling a working mailbox', async () => {
|
||||
vi.useFakeTimers()
|
||||
// Why: CI reuses Vitest workers across files. Reset their fake-clock queue so
|
||||
// this leak assertion measures only timers allocated by the mailbox path below.
|
||||
vi.clearAllTimers()
|
||||
try {
|
||||
const runtime = new OrcaRuntimeService(store)
|
||||
const db = new InMemoryOrchestrationMessages()
|
||||
|
||||
Reference in New Issue
Block a user