From b2c37945d537fdef15d30c46f762884976755bb4 Mon Sep 17 00:00:00 2001 From: Sean Breen Date: Wed, 16 Oct 2024 15:24:18 +0100 Subject: [PATCH] fix test condition --- internal/collector/otel_collector_plugin_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/collector/otel_collector_plugin_test.go b/internal/collector/otel_collector_plugin_test.go index 9c82a3e28b..a6e59c0aa3 100644 --- a/internal/collector/otel_collector_plugin_test.go +++ b/internal/collector/otel_collector_plugin_test.go @@ -511,7 +511,7 @@ func TestCollector_updateResourceAttributes(t *testing.T) { name: "Test 3: Adding a duplicate key doesn't append", setupActions: []config.Action{{Key: "test", Action: "insert", Value: "test value 1"}}, actions: []config.Action{{Key: "test", Action: "insert", Value: "updated value 2"}}, - expectedReloadRequired: true, + expectedReloadRequired: false, expectedAttribs: []config.Action{{Key: "test", Action: "insert", Value: "test value 1"}}, }, }