mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-04 08:28:36 +00:00
The helper never waits on the runtime-tasks gather after cancelling it (its children are bounded individually), so the finished-gather test must hand the helper an already-complete gather to exercise the bounded retrieval path, and the cancelled-gather test must settle the gather itself instead of expecting the helper to await a still-pending future. Use a pre-completed child for the finished case and suppress(await) for the cancelled case; both now assert done() and a single close.