mirror of
https://github.com/stablyai/orca.git
synced 2026-10-17 08:03:14 +00:00
Update runtime connection count integration assertion
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -478,9 +478,7 @@ describe('remote runtime request connection integration', () => {
|
||||
REMOTE_RUNTIME_REQUEST_TIMEOUT_MS,
|
||||
() => `cleanup count ${subscriptionCleanups.size}, event count ${mixedEvents.length}`
|
||||
)
|
||||
expect(
|
||||
(server as unknown as { wsConnectionIds: Map<unknown, unknown> }).wsConnectionIds.size
|
||||
).toBe(1)
|
||||
expect(server.getMobileSocketWiring()?.connectionCount).toBe(1)
|
||||
for (const mixed of mixedSubscriptions) {
|
||||
mixed.close()
|
||||
}
|
||||
@@ -500,9 +498,7 @@ describe('remote runtime request connection integration', () => {
|
||||
)
|
||||
)
|
||||
)
|
||||
expect(
|
||||
(server as unknown as { wsConnectionIds: Map<unknown, unknown> }).wsConnectionIds.size
|
||||
).toBe(1)
|
||||
expect(server.getMobileSocketWiring()?.connectionCount).toBe(1)
|
||||
for (const extra of extraSubscriptions) {
|
||||
extra.close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user