From 7195441d4f48ec9967dba614be020321a658a77d Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Mon, 25 Nov 2024 11:45:14 +0100 Subject: [PATCH] fix test --- .../internal/controllers/clusterresourceset_controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp/addons/internal/controllers/clusterresourceset_controller_test.go b/exp/addons/internal/controllers/clusterresourceset_controller_test.go index fd65347af44b..a0e834cf383b 100644 --- a/exp/addons/internal/controllers/clusterresourceset_controller_test.go +++ b/exp/addons/internal/controllers/clusterresourceset_controller_test.go @@ -902,7 +902,7 @@ metadata: appliedConditionV1Beta2 := v1beta2conditions.Get(crs, addonsv1.ResourcesAppliedV1Beta2Condition) g.Expect(appliedConditionV1Beta2).NotTo(BeNil()) g.Expect(appliedConditionV1Beta2.Status).To(BeEquivalentTo(corev1.ConditionFalse)) - g.Expect(appliedConditionV1Beta2.Reason).To(Equal(addonsv1.ApplyFailedReason)) + g.Expect(appliedConditionV1Beta2.Reason).To(Equal(addonsv1.ResourcesNotAppliedV1Beta2Reason)) g.Expect(appliedConditionV1Beta2.Message).To(Equal("Failed to apply ClusterResourceSet resources to Cluster")) }, timeout).Should(Succeed())