Skip to content

Commit ce2df81

Browse files
committed
tests: Make sure we are not depending on pre-existing config
Signed-off-by: Oliver Gondža <ogondza@gmail.com>
1 parent 6494802 commit ce2df81

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎test/openshift/e2e/ginkgo/sequential/1-003_validate_cluster_config_test.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
135135
return
136136
}
137137

138+
// Make sure the namespace is not in ARGOCD_CLUSTER_CONFIG_NAMESPACES initially
139+
fixture.SetEnvInOperatorSubscriptionOrDeployment("ARGOCD_CLUSTER_CONFIG_NAMESPACES", "openshift-gitops")
140+
138141
ns, cleanupFunc = fixture.CreateNamespaceWithCleanupFunc("argocd-e2e-cluster-config")
139142

140143
By("creating simple namespace-scoped ArgoCD instance .spec.initialSSHKnownHosts set")

0 commit comments

Comments
 (0)