@@ -69,18 +69,18 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
6969 By ("waiting for ArgoCD CR to be reconciled and the instance to be ready" )
7070 Eventually (argoCD , "5m" , "5s" ).Should (argocdFixture .BeAvailable ())
7171
72- By ("verifying ArgoCD CR defaults to resourceTrackingMethod: label " )
72+ By ("verifying ArgoCD CR defaults to resourceTrackingMethod: annotation " )
7373 argocdConfigMap := & corev1.ConfigMap {ObjectMeta : metav1.ObjectMeta {Name : "argocd-cm" , Namespace : ns .Name }}
7474 Eventually (argocdConfigMap ).Should (k8sFixture .ExistByName ())
7575
76- Eventually (argocdConfigMap ).Should (configmapFixture .HaveStringDataKeyValue ("application.resourceTrackingMethod" , "label " ))
76+ Eventually (argocdConfigMap ).Should (configmapFixture .HaveStringDataKeyValue ("application.resourceTrackingMethod" , "annotation " ))
7777
78- By ("verifying we can switch ArgoCD CR to resourceTrackingMethod: annotation , and the ConfigMap will be updated" )
78+ By ("verifying we can switch ArgoCD CR to resourceTrackingMethod: label , and the ConfigMap will be updated" )
7979 argocdFixture .Update (argoCD , func (ac * argov1beta1api.ArgoCD ) {
80- argoCD .Spec .ResourceTrackingMethod = "annotation "
80+ argoCD .Spec .ResourceTrackingMethod = "label "
8181 })
8282
83- Eventually (argocdConfigMap ).Should (configmapFixture .HaveStringDataKeyValue ("application.resourceTrackingMethod" , "annotation " ))
83+ Eventually (argocdConfigMap ).Should (configmapFixture .HaveStringDataKeyValue ("application.resourceTrackingMethod" , "label " ))
8484
8585 By ("verifying we can switch ArgoCD CR to resourceTrackingMethod: annotation+label, and the ConfigMap will be updated" )
8686
@@ -95,7 +95,7 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
9595 argoCD .Spec .ResourceTrackingMethod = "invalid_method"
9696 })
9797
98- Eventually (argocdConfigMap ).Should (configmapFixture .HaveStringDataKeyValue ("application.resourceTrackingMethod" , "label " ))
98+ Eventually (argocdConfigMap ).Should (configmapFixture .HaveStringDataKeyValue ("application.resourceTrackingMethod" , "annotation " ))
9999
100100 })
101101
0 commit comments