From dadeb62eeac97970e09f9b8a7667d4f964bd06c8 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 21 Nov 2026 10:49:03 -0800 Subject: [PATCH] test(chunkstore): report retained roots on GC acceptance failure --- .../core/frontend/chunkstore/volume_delete_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/core/frontend/chunkstore/volume_delete_integration_test.go b/seaweed-block/core/frontend/chunkstore/volume_delete_integration_test.go index 1f64a470fc..f7f0d2b403 100644 --- a/seaweed-block/core/frontend/chunkstore/volume_delete_integration_test.go +++ b/seaweed-block/core/frontend/chunkstore/volume_delete_integration_test.go @@ -145,7 +145,7 @@ func TestIntegration_DeleteVolumeThenGC(t *testing.T) { sort.Strings(want) sort.Strings(got) if fmt.Sprint(got) != fmt.Sprint(want) || gr.Reclaimed != len(want) { - t.Fatalf("GC reclaimed %v (%d); want exactly w1's A, w2's D and their unreachable manifests", got, gr.Reclaimed) + t.Fatalf("GC reclaimed %v (%d); want exactly w1's A, w2's D and their unreachable manifests; roots=%+v candidates=%d", got, gr.Reclaimed, gr.Roots, gr.Candidates) } for _, kept := range []string{bb.Key, cc.Key} { if _, err := w1.Get(ctx, kept); err != nil {