From 1ad3218fa986bcade94b2ec48f7c19926d7e669b Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 22 Nov 2026 03:52:16 -0800 Subject: [PATCH] test: a recorded foreign assignment counts as the old host's refusal Co-Authored-By: Claude Opus 5.5 --- .../cmd/blockvolume/procedure_gate_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/cmd/blockvolume/procedure_gate_integration_test.go b/seaweed-block/cmd/blockvolume/procedure_gate_integration_test.go index 34e8ac3668..eec3f8d1bf 100644 --- a/seaweed-block/cmd/blockvolume/procedure_gate_integration_test.go +++ b/seaweed-block/cmd/blockvolume/procedure_gate_integration_test.go @@ -171,7 +171,7 @@ func TestProcedureForcedMoveWithTheOldHostReturning(t *testing.T) { } time.Sleep(time.Second) } - if !back.has("refusing to attach volume=v1") && !back.has("workspace lease: stale authority") && !back.has("is not this process") { + if !back.has("refusing to attach volume=v1") && !back.has("workspace lease: stale authority") && !back.has("is not this process") && !back.has("foreign assignment") { failures = append(failures, "it logged no refusal (stale root, stale authority, or another server's assignment)") } if len(failures) > 0 {