From e4519ec5bc305a19251a24e8f1cdaccf24542ed7 Mon Sep 17 00:00:00 2001 From: rcourtman <8825017+rcourtman@users.noreply.github.com> Date: Thu, 8 Oct 2026 09:56:37 +0100 Subject: [PATCH] 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. --- internal/unifiedresources/registry_merge_policy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/unifiedresources/registry_merge_policy_test.go b/internal/unifiedresources/registry_merge_policy_test.go index c86b0f13f7..af0f70241c 100644 --- a/internal/unifiedresources/registry_merge_policy_test.go +++ b/internal/unifiedresources/registry_merge_policy_test.go @@ -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") }