-
Notifications
You must be signed in to change notification settings - Fork 543
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
Some flaky Aspire.Hosting.Tests.SlimTestProgramTests
tests
#5637
Comments
|
Failing tests:
|
cc @mitchdenny |
These tests are failing with different traces. This is a different one (failure):
|
Do we have server logs? |
From the build artifacts:
We need better logs for this one. |
Let's up the log level start a PR with resource logs so we can investigate. |
The HttpClient used in the tests don't have resilience, so if `TestProgram` takes longer to startup, then http requests to the services can fail. Instead, explicitly wait for `Application started` messages on the services before sending a request. Fixes dotnet#5637
Based on the logs I think the issue here is that the Trying a fix in #5668 . |
I wonder if WaitFor can make our tests more reliable. |
…ts (dotnet#5640) * [tests] Disable flaky `Aspire.Hosting.Tests.SlimTestProgramTests` tests Issue: dotnet#5637 * disable tests only on windows
Build Information
Build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2534744
Build error leg or test failing: Aspire.Hosting.Tests
Pull request:
main
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng/internal/_build/results?buildId=2534744
Error message validated:
[at Aspire.Hosting.Tests.SlimTestProgramFixture.WaitReadyStateAsync
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/10/2024 2:19:58 AM UTC
Report
Summary
Failing tests:
Aspire.Hosting.Tests.SlimTestProgramTests.TestProjectStartsAndStopsCleanly
Aspire.Hosting.Tests.SlimTestProgramTests.TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatch
Aspire.Hosting.Tests.SlimTestProgramTests.TestPortOnEndpointAnnotationAndAllocatedEndpointAnnotationMatchForReplicatedServices
Note: failing only on Windows.
The text was updated successfully, but these errors were encountered: