ResponseCompressionMiddlewareTests failing in release/8.0 on Fedora41 #59870
Open
Description
Failing Test(s)
- Failed Microsoft.AspNetCore.ResponseCompression.Tests.ResponseCompressionMiddlewareTest.SendFileAsync_AfterFirstWrite_CompressesAndFlushes
Error Message
2025-01-14T10:02:12.7516868Z Expected: 46
2025-01-14T10:02:12.7516920Z Actual: 43
Stacktrace
2025-01-14T10:02:12.7532953Z at Microsoft.AspNetCore.ResponseCompression.Tests.ResponseCompressionMiddlewareTest.CheckResponseCompressed(HttpResponseMessage response, Nullable`1 expectedBodyLength, String expectedEncoding) in /_/src/Middleware/ResponseCompression/test/ResponseCompressionMiddlewareTest.cs:line 1303
2025-01-14T10:02:12.7533052Z at Microsoft.AspNetCore.ResponseCompression.Tests.ResponseCompressionMiddlewareTest.SendFileAsync_AfterFirstWrite_CompressesAndFlushes() in /_/src/Middleware/ResponseCompression/test/ResponseCompressionMiddlewareTest.cs:line 1167
Logs
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=916632&view=results
Other tests such as Failed Microsoft.AspNetCore.ResponseCompression.Tests.ResponseCompressionMiddlewareTest.SendFileAsync_FirstWrite_CompressesAndFlushes
fail in a similar way:
2025-01-14T10:02:13.9643316Z Expected: 34
2025-01-14T10:02:13.9643333Z Actual: 31
Likely related to the recent update from Fedore38 to Fedora41