mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
test: a recorded foreign assignment counts as the old host's refusal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b2ddf6206a
commit
1ad3218fa9
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user