@@ -946,10 +946,16 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
946946 argoCD .Spec .DefaultClusterScopedRoleDisabled = true
947947 Expect (k8sClient .Create (ctx , argoCD )).To (Succeed ())
948948
949+ By ("Verify Argo CD CR is reconciled" )
950+ Eventually (principalDeployment ).Should (k8sFixture .ExistByName ())
951+
949952 By ("Verify ClusterRole and ClusterRoleBinding do not exist" )
950953 Eventually (clusterRole , "60s" , "2s" ).Should (k8sFixture .NotExistByName ())
951954 Eventually (clusterRoleBinding , "60s" , "2s" ).Should (k8sFixture .NotExistByName ())
952955
956+ Consistently (clusterRole , "15s" , "2s" ).Should (k8sFixture .NotExistByName ())
957+ Consistently (clusterRoleBinding , "15s" , "2s" ).Should (k8sFixture .NotExistByName ())
958+
953959 By ("Namespaced RBAC objects should still exist" )
954960 Eventually (role , "60s" , "2s" ).Should (k8sFixture .ExistByName ())
955961 Eventually (roleBinding , "60s" , "2s" ).Should (k8sFixture .ExistByName ())
@@ -967,6 +973,8 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
967973 })
968974 Eventually (clusterRole , "60s" , "2s" ).Should (k8sFixture .NotExistByName ())
969975 Eventually (clusterRoleBinding , "60s" , "2s" ).Should (k8sFixture .NotExistByName ())
976+ Consistently (clusterRole , "10s" , "2s" ).Should (k8sFixture .NotExistByName ())
977+ Consistently (clusterRoleBinding , "10s" , "2s" ).Should (k8sFixture .NotExistByName ())
970978 })
971979 })
972980})
0 commit comments