Pass thresholds to the broadcast coalesce in the split test

Main's #2745 gave MonitorAdapter.CoalesceForPresentation a thresholds
argument; the operator-split test still called the old signature, so
the merged branch did not compile. It passes nil, as the adapter's own
tests do, to keep the default freshness thresholds.
This commit is contained in:
rcourtman
2026-10-08 09:56:37 +01:00
parent cdd7aa2d10
commit e4519ec5bc
@@ -290,7 +290,7 @@ func TestOperatorSplitOverridesProxmoxNodeAgentLink(t *testing.T) {
for rebuild := 1; rebuild <= rebuilds; rebuild++ {
adapter.PopulateFromSnapshot(snapshot)
listed := adapter.GetAll()
broadcast, ok := adapter.CoalesceForPresentation(listed)
broadcast, ok := adapter.CoalesceForPresentation(listed, nil)
if !ok {
t.Fatal("store-backed adapter did not coalesce with its exclusions")
}