From e4ee17cdfca2c2da8e911285038528f37958d840 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 22 Nov 2026 18:32:49 -0800 Subject: [PATCH] test: fresh-root crash test uses the move request id the harness checks; clearer survivor log Co-Authored-By: Claude Opus 5.5 --- .../cmd/blockvolume/procedure_crash_io_integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seaweed-block/cmd/blockvolume/procedure_crash_io_integration_test.go b/seaweed-block/cmd/blockvolume/procedure_crash_io_integration_test.go index ec37361533..3a4963f44f 100644 --- a/seaweed-block/cmd/blockvolume/procedure_crash_io_integration_test.go +++ b/seaweed-block/cmd/blockvolume/procedure_crash_io_integration_test.go @@ -142,7 +142,7 @@ func TestProcedureCrashWithIOInFlight(t *testing.T) { t.Fatalf("LBA %d after the last acknowledged Flush holds data out of the stream's order or torn (kept %d)", lba, kept) } } - t.Logf("after the restart: all %d flush-acknowledged writes read back; %d of the %d unflushed completed writes survived as a prefix", flushed, kept-flushed, written-flushed) + t.Logf("after the restart: all %d flush-acknowledged writes read back; %d writes past the last acknowledged Flush survived as a prefix (%d had completed; one in flight may persist without its reply)", flushed, kept-flushed, written-flushed) } // Gap 1, cell A3.5: kill -9 of a holder serving on a FRESH root (after a @@ -186,7 +186,7 @@ func TestProcedureCrashOnAFreshRootWithFillsInFlight(t *testing.T) { t.Fatalf("s1 after the revocation: %v", err) } env.waitAck(t, e, g) - moved, _ := h.command(t, env.moveClean(e, "s2", "move-fill-1")...) + moved, _ := h.command(t, env.moveClean(e, "s2", "move-v1-1")...) e2 := mustU(movedEpochTo(moved, e, g, l, "s2")) nw := env.start(t, "blockvolume-s2", "s2") must(checkClaimDoneBy(nw.waitLog(t, 60*time.Second, "durable: HEAD claim for volume=v1 done in"), e2, "s2"))