Skip to content

Commit fe8b43d

Browse files
committed
Add command to check the deployments
Signed-off-by: NAVEENA S <nas@redhat.com>
1 parent 5b36836 commit fe8b43d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/openshift/e2e/ginkgo/parallel/1-121_validate_image_updater_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
116116
By("waiting for ArgoCD CR to be reconciled and the instance to be ready")
117117
Eventually(argoCD, "5m", "5s").Should(argocdFixture.BeAvailable())
118118

119+
By("listing deployments in namespace")
120+
output, err = osFixture.ExecCommand("oc", "get", "deployments", "-n", ns.Name)
121+
if err == nil {
122+
GinkgoWriter.Printf("Deployments in namespace %s:\n%s\n", ns.Name, output)
123+
}
124+
119125
By("verifying all workloads are started")
120126
deploymentsShouldExist := []string{"argocd-redis", "argocd-server", "argocd-repo-server", "argocd-argocd-image-updater-controller"}
121127
for _, deplName := range deploymentsShouldExist {

0 commit comments

Comments
 (0)