From bcdf772fa213f3c80000a4f7096b2797e60988f3 Mon Sep 17 00:00:00 2001 From: Gianluca Mardente Date: Tue, 26 May 2026 18:55:14 +0200 Subject: [PATCH] (chore) fix fv test --- test/fv/stale_resource_test.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/fv/stale_resource_test.go b/test/fv/stale_resource_test.go index 233abd6a..797284b0 100644 --- a/test/fv/stale_resource_test.go +++ b/test/fv/stale_resource_test.go @@ -164,14 +164,7 @@ var _ = Describe("Stale Resources", func() { Byf("Verifying ClusterSummary %s status is set to Deployed for Resources feature", clusterSummary.Name) verifyFeatureStatusIsProvisioned(kindWorkloadCluster.GetNamespace(), clusterSummary.Name, libsveltosv1beta1.FeatureResources) - By("Updating ConfigMap to reference incorrect Service") - Expect(k8sClient.Get(context.TODO(), - types.NamespacedName{Namespace: configMap.Namespace, Name: configMap.Name}, currentConfigMap)).To(Succeed()) - allClusterRoleName := randomString() - currentConfigMap = updateConfigMapWithPolicy(currentConfigMap, fmt.Sprintf(allClusterRole, allClusterRoleName)) - Expect(k8sClient.Update(context.TODO(), currentConfigMap)).To(Succeed()) - - By("Updating ConfigMap to reference also an incorrect Service") + By("Updating ConfigMap to reference an incorrect Service") incorrectServiceName := randomString() Expect(k8sClient.Get(context.TODO(), types.NamespacedName{Namespace: configMap.Namespace, Name: configMap.Name}, currentConfigMap)).To(Succeed())