Repository navigation
test: add check-hotfix e2e coverage - #10177
Merged
Cameron Meissner (cameronmeissner) merged 2 commits intoNov 25, 2026
Merged
Conversation
Contributor
Windows Unit Test Results 3 files 21 suites 1m 19s ⏱️ Results for commit 67864d8. ♻️ This comment has been updated with latest results. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The scenario assertions can pass despite a connection timeout or invalid response because they match fail-open messages instead of requiring the expected noHotfixAvailable outcome.
1 open issue
What changed in this PR
This PR extends the existing ANC hotfix end-to-end scenarios to run check-hotfix before the deterministic download and provisioning flow.
Changes:
- Runs
check-hotfixafter preparing the test binary, before seeding the hotfix pointer and replacing bootstrap inputs. - Adds log checks for invocation, completion, and absence of panics.
- Updates the fixture unit test to verify command ordering.
| File | Description |
|---|---|
e2e/scenario/vmss.go |
Invokes check-hotfix before writing fixture inputs. |
e2e/scenario/scenario_anc_hotfix.go |
Adds log assertions and clarifies live-service coverage. |
e2e/scenario/scenario_anc_hotfix_test.go |
Verifies binary preparation and fixture command ordering. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
Contributor
Contributor
|
Abigail Liang (abigailliang-aks-sig-node)
approved these changes
Nov 25, 2026
Cameron Meissner (cameronmeissner)
merged commit Nov 25, 2026
b70dcb7
into
dev
25 of 28 checks passed
Cameron Meissner (cameronmeissner)
deleted the
lily/add-check-hotfix-e2e-coverage
branch
November 25, 2026 16:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #