[CI Failure] Flaky: TestingFactoryTests.HttpClientGetTest times out intermittently
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
## Build Information
Build: https://github.com/microsoft/aspire/actions/runs/32091076460
Build error leg or test failing: Tests / Hosting.Testing / Hosting.Testing (ubuntu-latest) / `Aspire.Hosting.Testing.Tests.TestingFactoryTests.HttpClientGetTest`
Pull request: #1424
## Error Message
```
System.TimeoutException : The operation has timed out.
at Aspire.Hosting.Testing.Tests.TestingFactoryTests.HttpClientGetTest() in /_/tests/Aspire.Hosting.Testing.Tests/TestingFactoryTests.cs:line 52
```
## Description
Flaky: TestingFactoryTests.HttpClientGetTest times out intermittently
**Type**: flaky-test
## Occurrences
| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-08-18 | [32091076460](https://github.com/microsoft/aspire/actions/runs/32091076460) | Tests / Hosting.Testing / Hosting.Testing (ubuntu-latest) | #1424 |
Contributor guide
Research direction
Start with tests/Aspire.Hosting.Testing.Tests/TestingFactoryTests.cs, especially HttpClientGetTest at line 52, and run the Hosting.Testing test project to reproduce the timeout. Trace the intermittent operation and verify the test completes reliably without timing out across repeated runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100