-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest NET 9 runtime causes EventCounterPipelineUnitTests.TestCounterEventPipeline test to fail #4847
Comments
@dotnet/dotnet-monitor - I investigated and the test failure is a combination of three things:
The unexpected payload printed in VS:
I assume the test should either not enable MetricsEventSource, not set the TimeSeries limit to zero, or apply a filter to the final results to remove the expected error message. |
Fixed by #4871 |
The Microsoft.Diagnostics.Monitoring.EventPipe.UnitTests.EventCounterPipelineUnitTests.TestCounterEventPipeline test in the diagnostics repo is failing on the latest NET 9.0 runtime on almost all platforms with:
Assert.Equal() Failure: Collections differ\n ↓ (pos 0)\nExpected: string[] ["cpu-usage", "working-set"]\nActual: OrderedEnumerable<string, string> [null, "cpu-usage", "working-set"]\n ↑ (pos 0)
Stack trace
at Microsoft.Diagnostics.Monitoring.EventPipe.UnitTests.EventCounterPipelineUnitTests.TestCounterEventPipeline(TestConfiguration config) in /Users/runner/work/1/s/src/tests/Microsoft.Diagnostics.Monitoring.EventPipe/EventCounterPipelineUnitTests.cs:line 129 --- End of stack trace from previous location ---
This failure is causing all the DARC updates to fail so this test is disabled.
https://dev.azure.com/dnceng-public/public/_build/results?buildId=772212&view=results
#4845
The text was updated successfully, but these errors were encountered: