Some new tests related to Async.RunSynchronouslyImmediate are flaky and/or causing the testhost to timeout:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1560835&view=ms.vss-test-web.build-test-results-tab
https://github.com/dotnet/fsharp/runs/96071354150
etc.
Historically StartImmediate was not playing nice with xUnit, because of xUnit's custom SynchronizationContext, IIRC. I'm not sure this is still the case with v3.
To mitigate we may try to take the offending tests out of parallel run with
[<Collection(nameof FSharp.Test.NotThreadSafeResourceCollection)>]
cc @bartelink
Some new tests related to
Async.RunSynchronouslyImmediateare flaky and/or causing the testhost to timeout:https://dev.azure.com/dnceng-public/public/_build/results?buildId=1560835&view=ms.vss-test-web.build-test-results-tab
https://github.com/dotnet/fsharp/runs/96071354150
etc.
Historically StartImmediate was not playing nice with xUnit, because of xUnit's custom SynchronizationContext, IIRC. I'm not sure this is still the case with v3.
To mitigate we may try to take the offending tests out of parallel run with
cc @bartelink