mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
test: use an exact block pattern in the retirement procedure
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
1 parent
6a4420983c
commit
a7bac0b2ae
1 file changed
+1
-1
@@ -17,7 +17,7 @@ func TestProcedureRetireTemplateSource(t *testing.T) {
|
||||
source := env.start(t, "blockvolume-source", "s1")
|
||||
e := env.adopt(t, source, "s1")
|
||||
const template = "template-holder"
|
||||
want := map[uint64][]byte{5: pattern("template-seed!!")}
|
||||
want := map[uint64][]byte{5: pattern("template-seed!!!")}
|
||||
env.writeBlock(t, "s1", 5, want[5])
|
||||
env.snapshot(t, "s1", "v1", "seed")
|
||||
for _, step := range []struct{ source, snapshot, target string }{
|
||||
|
||||
Reference in new issue
Block a user