Conversation
by letting only one task runs at the time
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2313 +/- ##
=======================================
Coverage 85.38% 85.38%
=======================================
Files 313 313
Lines 7457 7457
Branches 1126 1126
=======================================
Hits 6367 6367
Misses 745 745
Partials 345 345
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
This seems to resolve the original issue, but I've asked the xunit maintainer who proposed the original workaround to take a look to give their opinion. If we don't hear from them within a week, I'll merge this as-is. |
|
Yeah, this seems like a reasonable way to ensure that there is no dependency on the current thread. The only suggestion I'll make is to change |
|
Good suggestion - thanks Brad! I reckon about 20 seconds should be long enough for our purposes to guard against a "forever wait". |
|
Ok I will add a timeout of 20s. |
Pull Request
The issue or feature being addressed
Fixes #2288.
Details on the issue fix or feature implementation
I used a semaphore slim to control the number of parallel tasks that can run.
Confirm the following