From 7ea9b7ab02289b00186ca96ca20a6d9ebfad4edf Mon Sep 17 00:00:00 2001 From: pingqiu Date: Mon, 23 Nov 2026 20:01:10 -0800 Subject: [PATCH] test: bound template verification in the procedure and guide Co-Authored-By: Codex --- .../cmd/blockvolume/template_retirement_integration_test.go | 2 +- seaweed-block/docs/standalone-deployment.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seaweed-block/cmd/blockvolume/template_retirement_integration_test.go b/seaweed-block/cmd/blockvolume/template_retirement_integration_test.go index 9d19893679..c4da02ffb6 100644 --- a/seaweed-block/cmd/blockvolume/template_retirement_integration_test.go +++ b/seaweed-block/cmd/blockvolume/template_retirement_integration_test.go @@ -46,7 +46,7 @@ func TestProcedureRetireTemplateSource(t *testing.T) { env.requireDeletedForGood(t, "delete-template-source") check := func() { for _, vol := range []string{template, "consumer"} { - env.h.command(t, "ops", "chunk", "verify", "--volume", vol, "--all-snapshots", "--depth", "data", + env.h.command(t, "ops", "chunk", "verify", "--volume", vol, "--all-snapshots", "--depth", "data", "--timeout", "2m", "--chunk-filer", env.cluster.filerGRPC, "--chunk-path", env.chunkPath) env.requireBlocks(t, "n-"+vol, 0, 16, want) env.requireEdges(t, "n-"+vol) diff --git a/seaweed-block/docs/standalone-deployment.md b/seaweed-block/docs/standalone-deployment.md index 06e0c37ef5..c04d06e2e4 100644 --- a/seaweed-block/docs/standalone-deployment.md +++ b/seaweed-block/docs/standalone-deployment.md @@ -603,8 +603,8 @@ Prerequisites: `v1` is serving, its only snapshot is `seed`, and the standalone 5. Verify both surviving images, including the holder's template snapshot: ```bash - sw-block ops chunk verify --volume template-holder --all-snapshots --depth data --chunk-filer FILER - sw-block ops chunk verify --volume consumer --all-snapshots --depth data --chunk-filer FILER + sw-block ops chunk verify --volume template-holder --all-snapshots --depth data --timeout 2m --chunk-filer FILER + sw-block ops chunk verify --volume consumer --all-snapshots --depth data --timeout 2m --chunk-filer FILER sw-block ops chunk gc --chunk-filer FILER --master MASTER --apply ```