Open
Description
Failing Test(s)
- Microsoft.AspNetCore.HttpLogging.W3CLoggerTests.WritesDateTime
Error Message
Assert.InRange() Failure: Value not in range
Range: (-1 - 10)
Actual: 10.3434799
Stacktrace
at Microsoft.AspNetCore.HttpLogging.W3CLoggerTests.WritesDateTime() in /_/src/Middleware/HttpLogging/test/W3CLoggerTests.cs:line 43
at Microsoft.AspNetCore.HttpLogging.W3CLoggerTests.WritesDateTime() in /_/src/Middleware/HttpLogging/test/W3CLoggerTests.cs:line 47
--- End of stack trace from previous location ---
Logs
025-04-22T06:09:01.5761682Z Passed Microsoft.AspNetCore.HttpLogging.HttpLoggingServicesExtensionsTests.UseW3CLogging_RequireServices [< 1 ms]
2025-04-22T06:09:01.9925674Z [xUnit.net 00:00:22.54] Microsoft.AspNetCore.HttpLogging.W3CLoggerTests.WritesDateTime [FAIL]
2025-04-22T06:09:01.9928346Z [xUnit.net 00:00:22.54] Assert.InRange() Failure: Value not in range
2025-04-22T06:09:01.9930709Z [xUnit.net 00:00:22.54] Range: (-1 - 10)
2025-04-22T06:09:01.9932695Z [xUnit.net 00:00:22.54] Actual: 10.3434799
2025-04-22T06:09:01.9937895Z [xUnit.net 00:00:22.54] Stack Trace:
2025-04-22T06:09:01.9940193Z [xUnit.net 00:00:22.54] /_/src/Middleware/HttpLogging/test/W3CLoggerTests.cs(43,0): at Microsoft.AspNetCore.HttpLogging.W3CLoggerTests.WritesDateTime()
2025-04-22T06:09:01.9942545Z [xUnit.net 00:00:22.54] /_/src/Middleware/HttpLogging/test/W3CLoggerTests.cs(47,0): at Microsoft.AspNetCore.HttpLogging.W3CLoggerTests.WritesDateTime()
2025-04-22T06:09:01.9944500Z [xUnit.net 00:00:22.54] --- End of stack trace from previous location ---
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1022458