Open
Description
Build Information
Build: https://github.com/dotnet/aspire/actions/runs/13959173935/job/39077271364?pr=8189
Build error leg or test failing: Aspire.Hosting.Tests.WithHttpCommandTests.WithHttpCommand_ResultsInExpectedResultForStatusCode
Pull request: #5363
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Assert.Equal() Failure: Values differ",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": true
}
Disabled in: #8189
https://github.com/dotnet/aspire/actions/runs/13959173935/job/39077271364?pr=8189
[xUnit.net 00:03:11.39] | [2025-03-20T00:20:35] Aspire.Hosting.Dcp.dcp.start-apiserver Information: Shutdown complete.
Failed Aspire.Hosting.Tests.WithHttpCommandTests.WithHttpCommand_ResultsInExpectedResultForStatusCode(statusCode: 200, expectSuccess: True) [32 s]
Error Message:
Assert.Equal() Failure: Values differ
Expected: True
Actual: False
Stack Trace:
at Aspire.Hosting.Tests.WithHttpCommandTests.WithHttpCommand_ResultsInExpectedResultForStatusCode(Int32 statusCode, Boolean expectSuccess) in /_/tests/Aspire.Hosting.Tests/WithHttpCommandTests.cs:line 132
--- End of stack trace from previous location ---
Standard Output Messages:
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
eerhardt commentedon Mar 20, 2025
@DamianEdwards - looks like 4 of the HttpCommand tests are disabled.
DamianEdwards commentedon Mar 24, 2025
I think I'm going to rewrite these to use a mock
HttpMessageHandler
to try and avoid needing to hit a real service at all.radical commentedon Apr 2, 2025
@mitchdenny @DamianEdwards Is this a flaky test? It is marked with
[QuarantinedTest]
in the code.