From b42642035affd171427fa2b81abb88ec6e5a2122 Mon Sep 17 00:00:00 2001 From: eriknordmark Date: Wed, 8 Jul 2026 11:29:16 -0700 Subject: [PATCH] resizer: fix chaos grow to target the EFI System label 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 Co-Authored-By: Claude Opus 4.8 --- resume_stress_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resume_stress_test.go b/resume_stress_test.go index 5a7293f..7247fc8 100644 --- a/resume_stress_test.go +++ b/resume_stress_test.go @@ -277,7 +277,7 @@ func TestChaosKill(t *testing.T) { shrinkArgs := []string{"--grow-partition", "label:P3:300M"} // Case 1: shrink P3 in place growArgs := []string{ // Case 2: grow into the freed space "--preserve-numbers", - "--grow-partition", "label:ESP:96M", + "--grow-partition", "label:EFI System:96M", "--grow-partition", "label:IMGA:200M", "--grow-partition", "label:IMGB:200M", }