test: bound template verification in the procedure and guide

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
pingqiuandCodex committed 2026-11-23 20:01:10 -08:00
1 parent a7bac0b2ae
commit 7ea9b7ab02
2 files changed
+3 -3

No files matched your search

@@ -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)
+2 -2
View File
@@ -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
```