You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Keyed scheduler runs sync tests serially on one thread, even with ParallelLimiter #7075
I've searched existing issues to ensure this isn't a duplicate
I've read the documentation and this isn't expected behavior
I'm using the latest version of TUnit
Description
Synchronous tests with distinct NotInParallel keys run one at a time on a single thread.
Suspected cause: the scheduler starts each test inside its loop without yielding. Adding await Task.Yield() works around it.
Expected Behavior
~2s total, all test run in parallel
Actual Behavior
~8s total, T1 through T4 run serially, while Y1 through Y4 correctly run in parallel
Activity
fix(engine): run synchronous keyed NotInParallel tests concurrently (t…