Skip to content

CI timeouts and flakiness related to new Async tests. #20306

Description

@majocha

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions