From 31eebe19004f803cc771520f892d7bba082f880f Mon Sep 17 00:00:00 2001 From: odubajDT Date: Fri, 10 Jan 2025 08:34:45 +0100 Subject: [PATCH] fix test Signed-off-by: odubajDT --- processor/k8sattributesprocessor/e2e_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/processor/k8sattributesprocessor/e2e_test.go b/processor/k8sattributesprocessor/e2e_test.go index 8a36851065c1..86145a0f5ce9 100644 --- a/processor/k8sattributesprocessor/e2e_test.go +++ b/processor/k8sattributesprocessor/e2e_test.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build e2e - package k8sattributesprocessor import ( @@ -1146,7 +1144,7 @@ func TestE2E_ClusterRBACCollectorStartAfterTelemetryGen(t *testing.T) { } // start the collector after the telemetry gen objects - collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, filepath.Join(testDir, "collector")) + collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, filepath.Join(testDir, "collector"), map[string]string{}, "") defer func() { for _, obj := range collectorObjs { require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())