mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 20:52:51 +00:00
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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user