Skip to content

Benchmark process freeze when running DisassemblyDiagnoserTests with xUnit v3 on macos(x64/arm64) #3076

Description

@filzrev

I'm trying to update BenchmarkDotNet tests to use xUnit v3. (#3065)

But DisassemblyDiagnoserTests cause freeze and cause CI timeout(6h) when running tests with xUnit v3 on macos(x64/arm64)

It's not happen on following conditions.

  1. Running tests on other OS (Windows/Ubuntu).
  2. Run benchmark with dotnet run command on macos

So I'm suspecting the issue has caused by SynchronizationContext(xUnit/BenchmarkDotNet) related problem,
But I don't have any proof.

Minimum reproduceable example code
https://github.com/filzrev/test_ci_on_macos

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions