-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[TestFailure] System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesAllDataTypes #85290
Comments
@noahfalk will be the best to look at this one if possible. |
@noahfalk this looks a double rounding issue on x86.
|
@tarekgh - From the perspective of the Metrics tests I'm unconcerned and we could certainly update the test to tolerate the rounding behavior. @tannergooding @AndyAyersMS - Just a heads up in case you believe the apparent change in rounding behavior was unintentional? When you trim away all the other stuff the test is doing I think the underlying math looks like:
EDIT: Nevermind, I missed that the behavior is on net48, not .NET Core. I'm guessing that makes it not as relevant for you. |
For the changes that you linked @tarekgh I'm not sure what the connection is between behavior changes in 3.0 and test behavior changes that presumably happened recently? |
The failure is on |
ah! I missed that net48 entirely, thanks! |
Fixes #85290 Desktop .NET Framework on x86 improperly rounds double values in some circumstances. I switched the test to use a lower precision double value so that it is not impacted by the extra rounding.
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=250208
Build error leg or test failing: System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesAllDataTypes
Pull request: #84976
Error Message
Fill the error message using known issues guidance.
configuration: net48-windows-Release-x86-Windows.10.Amd64.Client.Open
Report
Summary
The text was updated successfully, but these errors were encountered: