mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 11:48:24 +00:00
BlossomServerListState.flow hops through real Dispatchers.IO (flowOn) into a stateIn collector. Under runTest both the awaiting coroutine and the stateIn scope sit on the virtual-time scheduler, and the IO handoff can park while that scheduler is idle - runTest then aborts with UncompletedCoroutinesError, which is exactly how the previous hardening (await-the-flow-first) failed on the Linux DEB CI job. runBlocking with a private cancellable scope keeps every dispatcher real, and withTimeout bounds a genuine hang with a clear error instead. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011S1vbFWVVAMFDT8PTgdibV