mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 16:03:17 +00:00
Merge branch 'nwparker/term-speed-2-hidden-delivery-gate' into nwparker/term-speed-2-model-query-responder
This commit is contained in:
@@ -428,12 +428,14 @@ describe('remote runtime request connection integration', () => {
|
||||
})
|
||||
})
|
||||
)
|
||||
// Why: CI can register subscription cleanups before the first
|
||||
// response crosses the shared-control socket.
|
||||
await waitFor(
|
||||
() => subscriptionCleanups.size >= mixedSubscriptions.length + 1,
|
||||
() =>
|
||||
subscriptionCleanups.size >= mixedSubscriptions.length + 1 && mixedEvents.length > 0,
|
||||
5000,
|
||||
() => `cleanup count ${subscriptionCleanups.size}, event count ${mixedEvents.length}`
|
||||
)
|
||||
expect(mixedEvents.length).toBeGreaterThan(0)
|
||||
expect(
|
||||
(server as unknown as { wsConnectionIds: Map<unknown, unknown> }).wsConnectionIds.size
|
||||
).toBe(1)
|
||||
|
||||
Reference in New Issue
Block a user