diff --git a/seaweed-block/core/host/master/format_gate_test.go b/seaweed-block/core/host/master/format_gate_test.go index ee929ca56f..b5a96faf45 100644 --- a/seaweed-block/core/host/master/format_gate_test.go +++ b/seaweed-block/core/host/master/format_gate_test.go @@ -484,9 +484,10 @@ func TestEveryVolumeOfAHeartbeatKeepsItsLevel(t *testing.T) { } // The queued-ask schedule: a bind is -// decided and reaches its publication admission while node-b's only process -// reads level 1; it is held there; another node-b process then reports level -// 0; released, the same ask is refused by the format check (binary_too_old) +// decided and reaches its publication admission while node-b's process for v +// reads level 1; it is held there; v's process is then replaced by one that +// reports level 0 (the grant reads v's own process, never a sibling's); +// released, the same ask is refused by the format check (binary_too_old) // and no line is published. The control, with no downgrade, publishes. func TestAHeldAskIsRefusedAfterItsServerTurnsOutOld(t *testing.T) { for _, downgrade := range []bool{true, false} { @@ -565,7 +566,7 @@ func TestAHeldAskIsRefusedAfterItsServerTurnsOutOld(t *testing.T) { t.Fatal("the bind never reached its publication admission") } if downgrade { - _ = r.fgProcessHeartbeat("node-b", "old-proc", "other", 0) // refused at level 1, but its level is recorded + _ = r.fgProcessHeartbeat("node-b", "old-proc", "v", 0) // v's own process, now old: refused at level 1, but its level is recorded } releaseHold() var got error