From 17024042701eea12853be8d5f078234fb6f5f91c Mon Sep 17 00:00:00 2001 From: Vincent Shen Date: Mon, 4 Mar 2024 11:25:33 -0800 Subject: [PATCH] Fix e2e for TestManualRulesTailoredProfile We were using DisableOutdatedReferenceValidation as a label instead of an annotation, this commit fixes it --- tests/e2e/parallel/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/parallel/main_test.go b/tests/e2e/parallel/main_test.go index d3aaedf1a..cbdabc180 100644 --- a/tests/e2e/parallel/main_test.go +++ b/tests/e2e/parallel/main_test.go @@ -2712,7 +2712,7 @@ func TestManualRulesTailoredProfile(t *testing.T) { ObjectMeta: metav1.ObjectMeta{ Name: suiteName, Namespace: f.OperatorNamespace, - Labels: map[string]string{ + Annotations: map[string]string{ compv1alpha1.DisableOutdatedReferenceValidation: "true", }, },