Skip to content

resizer: fix chaos grow to target the EFI System label#24

Merged
deitch merged 1 commit into
diskfs:mainfrom
eriknordmark:chaos-grow-label-fix
Jul 17, 2026
Merged

resizer: fix chaos grow to target the EFI System label#24
deitch merged 1 commit into
diskfs:mainfrom
eriknordmark:chaos-grow-label-fix

Conversation

@eriknordmark

Copy link
Copy Markdown
Contributor

TestChaosKill's grow phase targets partition label ESP, but the sample
fixture labels that partition EFI System (and the test's own assertions
key on EFI System). The grow therefore matches no partition and the
opt-in chaos test fails with "no disks found matching specified
partitions". This is a pre-existing mismatch; it only surfaces when the
chaos test's grow phase is actually run (RESIZER_CHAOS=1 /
CHAOS_GPT_DELAY). Target the correct label.

One-line fix, independent of any feature work.

TestChaosKill's grow phase targeted label "ESP", but the sample fixture
labels that partition "EFI System" (its assertions already key on that),
so the grow matched no partition. The mismatch predates this work and only
surfaces when the opt-in chaos test's grow phase runs. Target the correct
label.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@eriknordmark

Copy link
Copy Markdown
Contributor Author

@deitch ready for review when you have a moment — one-line label fix. Thanks!

@deitch
deitch merged commit fac0ca3 into diskfs:main Jul 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants