After PR #3090 is merged.
CompletedWorkItemCountIsAccurate test is randomly failed.
Currently, this error is observed on macos(arm64) only.
Error message
CompletedWorkItemCountIsAccurate(toolchain: InProcessEmitToolchain) [FAIL]
Assert.Equal() Failure: Values are not within 2 decimal places
Expected: 1 (rounded from 1)
Actual: 1.02 (rounded from 1.015625)
Logs
It can be resolved by reduce precision when comparing metrics value.
|
Assert.Equal(assertion.Value.expectedValue, metric.Value.Value, precision: 2); |
.
Though, it need to determine root cause of this problems.
After PR #3090 is merged.
CompletedWorkItemCountIsAccuratetest is randomly failed.Currently, this error is observed on
macos(arm64)only.Error message
Logs
It can be resolved by reduce precision when comparing metrics value.
BenchmarkDotNet/tests/BenchmarkDotNet.IntegrationTests/ThreadingDiagnoserTests.cs
Line 182 in d11792c
Though, it need to determine root cause of this problems.