The controller no longer subscribes to the alive message: HostBeats, its handler, the heartbeat-gap duration and a fixed silent bound (issue 1183, AC3, AC4, AC5)
mesh/merge-gate head 19e3eac74658 merged into trunk 89cfa9431d8f — pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every …
mesh/repo-check head 19e3eac74658 merged into trunk 89cfa9431d8f — pass: its merge-check.sh passed
mesh/delivery delivered
mesh/merge-gate head 19e3eac74658 merged into trunk 89cfa9431d8f — pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every …
mesh/repo-check head 19e3eac74658 merged into trunk 89cfa9431d8f — pass: its merge-check.sh passed
mesh/delivery delivered
This commit is contained in:
@@ -121,15 +121,3 @@ func TestAReportCarryingWhatOnlyTheNodeKnowsIsActedOnHoweverOldItIs(t *testing.T
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// A heartbeat is not held for the store: the next one is a minute away, and one kept for two
|
||||
// minutes to be written late says nothing the one after it will not say better.
|
||||
func TestAHeartbeatIsNotHeldForTheStore(t *testing.T) {
|
||||
s, in := serving()
|
||||
s.listener = heardWith{err: errors.Join(ErrTryAgain, errors.New("starting up"))}
|
||||
to := &settled{}
|
||||
s.act(context.Background(), in.sends(t, to, KindHeartbeat, Alive{Node: "anchor"}))
|
||||
if !to.acked || len(in.held) != 0 {
|
||||
t.Fatalf("a heartbeat was held for the store: %+v, %d held", *to, len(in.held))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user