Repository navigation
Stabilize Kubernetes create-recovery retry-delay tests - #20971
Ankit Jain (radical) with Copilot wants to merge 5 commits into
Conversation
Co-authored-by: radical <1472+radical@users.noreply.github.com>
Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com>
Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20971Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20971" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
The client warm-up is missing, and the recovery timeout becomes 30 seconds per case in CI rather than five seconds.
2 open findings
What changed in this PR
Stabilizes Kubernetes create-recovery timing tests by increasing timeout margins.
Changes:
- Uses shared long watchdog timeouts.
- Expands recovery budgets for both retry-delay theories.
- Adds shared test-timeout constants import.
| File | Description |
|---|---|
tests/Aspire.Hosting.Tests/Dcp/KubernetesServiceTests.cs |
Adjusts retry-delay test timeout budgets. |
🧠 Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Tests selector6 / 99 PR test projects · 0 PR jobs, from 1 changed file. Selected PR test projects (6 / 99)
Selected PR jobs (0)none How these were chosen — grouped by what changed🧪 Job reasonsnone Selection computed for commit |


Description
The Windows confirmation retry-delay test exhausts its 500 ms recovery budget before the fake server receives any requests, leaving the intended retry-delay behavior untested.
ListAsyncbefore starting creation.POST → GETassertions for numeric,int.MaxValue, and HTTP-date retry hints. No production behavior changes.Checklist
<remarks />and<code />elements on your triple slash comments?