3e504ca9c49492e157030a4295fd531a237a754f
xUnit v2 (2.9.3) never invokes IAsyncDisposable.DisposeAsync on a test class, so the unobserved-fault safety net this class documents — awaiting every scripted worker task after each test — has been dead code since it was written. Found via dumpasync on the wedged-testhost investigation: the NeverReadyWorkerProcessLauncher's Task.Delay(Infinite, _stop.Token) was still pending (DelayPromiseWithCancellation, detached) minutes after its test finished, which is only possible if DisposeAsync never ran. Proven both ways with a throw-probe in DisposeAsync: under IAsyncDisposable all 3 tests pass (never called); under IAsyncLifetime all 3 fail from the probe (called after every test). Sweep confirmed this is the only test class on IAsyncDisposable — all other implementers are helpers disposed via await using.
Description
No description provided
Languages
C#
44%
Java
43.6%
Python
3.5%
Rust
3.3%
Go
2.8%
Other
2.7%