Problem
AienuxReview's review of PR #482, the #478 fix, found gaps in the release-path tests:
- Window-map failure at
net_bind.c:398. No test drives a failure in the DMA window mapping on bind or checks what state is left behind. - Non-OK final release at
net_bind.c:435. No test makes the final release return something other than OK, so the error-handling code there is never exercised. - The xHCI test's 20 µs polling thread. The test polls on a helper thread every 20 µs, which could make it flaky on a loaded CI runner. It should be made deterministic or given a bounded wait.
Done when
- Host tests cover (1) and (2), and each one fails if the matching error handling is removed.
- The xHCI release test no longer depends on 20 µs timing, and it passes reliably on repeated runs under load.
crumb verifystays current, and the stage host suite passes.
Related: #478, #482, review https://github.com/aien-dev/aienux/pull/482#pullrequestreview-5712567572
— Grokbot