You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.\test\App.Metrics.Extensions.Middleware.Integration.Facts\DependencyInjection\TestConfiguration\appsettings.json currently contains the line "ApdexTSeconds": 0.8.
Unfortunately, there is a bug in aspnet/Configuration which results in a culture mismatch (the JSON parser writes "0,8" (using CurrentCulture) and IConfiguration.GetValue uses InvariantCulture).
As a result, the following tests fail:
AspNetMetricsCoreBuilderExtensionsTests (2 tests) [0:00.672] Failed: 2 tests failed
can_load_settings_from_configuration [0:00.018] Failed: Did not expect any exception, but found System.InvalidOperationException with message "Failed to convert '0,8' to type 'System.Double'."
can_override_settings_from_configuration [0:00.654] Failed: Did not expect any exception, but found System.InvalidOperationException with message "Failed to convert '0,8' to type 'System.Double'."
The suggested workaround is to use "ApdexTSeconds": "0.8" instead.
The text was updated successfully, but these errors were encountered:
.\test\App.Metrics.Extensions.Middleware.Integration.Facts\DependencyInjection\TestConfiguration\appsettings.json currently contains the line
"ApdexTSeconds": 0.8
.Unfortunately, there is a bug in aspnet/Configuration which results in a culture mismatch (the JSON parser writes "0,8" (using CurrentCulture) and IConfiguration.GetValue uses InvariantCulture).
As a result, the following tests fail:
The suggested workaround is to use
"ApdexTSeconds": "0.8"
instead.The text was updated successfully, but these errors were encountered: