Skip to content

AwaitingTasksShouldNotInterfereAllocationResults failed on Windows + .NET Framework when running with xUnit.v3 #3203

Description

@filzrev

AwaitingTasksShouldNotInterfereAllocationResults test failed on Windows(x64/arm64) + .NET Framework when running with xUnit.v3.

Error Message

failed AwaitingTasksShouldNotInterfereAllocationResults(toolchain: InProcessEmitToolchain) (10s 351ms)
  Assert.Equal() Failure: Values differ
   Expected: 0
   Actual:   11472
    at BenchmarkDotNet.IntegrationTests.MemoryDiagnoserTests.AssertAllocations(IToolchain toolchain, Type benchmarkType, Dictionary`2 benchmarksAllocationsValidators, Int32 iterationCount, Runtime runtime) in /_/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs:439

I don't know what's background process allocating extra 11472 bytes.
So I've temporary skipped this InProcessEmitToolchain test on xunit.v3 PR branch,

https://github.com/dotnet/BenchmarkDotNet/pull/3065/changes#diff-d4039f0091dcde5beb048d1c62a90c46837b4fb3004cfd08359144e65de9084aR254-R256

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