Skip to content

Commit 0e6870c

Browse files
author
Triona Doyle
committed
Test updates for 1.20.4 release
Signed-off-by: Triona Doyle <tekton@example.com>
1 parent f09d22c commit 0e6870c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

test/openshift/e2e/ginkgo/sequential/1-051_validate_argocd_agent_principal_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
405405

406406
By("Create ArgoCD instance")
407407

408-
argoCD.Spec.ArgoCDAgent.Principal.Image = "quay.io/argoprojlabs/argocd-agent:v0.5.0"
408+
argoCD.Spec.ArgoCDAgent.Principal.Image = "quay.io/argoprojlabs/argocd-agent:v0.7.7"
409409
Expect(k8sClient.Create(ctx, argoCD)).To(Succeed())
410410

411411
By("Verify expected resources are created for principal pod")
@@ -416,7 +416,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
416416

417417
container := deploymentFixture.GetTemplateSpecContainerByName(argoCDAgentPrincipalName, *principalDeployment)
418418
Expect(container).ToNot(BeNil())
419-
Expect(container.Image).To(Equal("quay.io/argoprojlabs/argocd-agent:v0.5.0"))
419+
Expect(container.Image).To(Equal("quay.io/argoprojlabs/argocd-agent:v0.7.7"))
420420

421421
By("Verify environment variables are set correctly")
422422

@@ -435,7 +435,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
435435
ac.Spec.ArgoCDAgent.Principal.LogFormat = "json"
436436
ac.Spec.ArgoCDAgent.Principal.Server.KeepAliveMinInterval = "60s"
437437
ac.Spec.ArgoCDAgent.Principal.Server.EnableWebSocket = ptr.To(true)
438-
ac.Spec.ArgoCDAgent.Principal.Image = "quay.io/argoprojlabs/argocd-agent:v0.5.1"
438+
ac.Spec.ArgoCDAgent.Principal.Image = "quay.io/argoprojlabs/argocd-agent:v0.7.7"
439439

440440
ac.Spec.ArgoCDAgent.Principal.Namespace.AllowedNamespaces = []string{"agent-managed", "agent-autonomous"}
441441
ac.Spec.ArgoCDAgent.Principal.Namespace.EnableNamespaceCreate = ptr.To(true)
@@ -482,7 +482,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
482482
if container == nil {
483483
return false
484484
}
485-
return container.Image == "quay.io/argoprojlabs/argocd-agent:v0.5.1"
485+
return container.Image == "quay.io/argoprojlabs/argocd-agent:v0.7.7"
486486
}, "120s", "5s").Should(BeTrue(), "Principal deployment should have the updated image")
487487

488488
By("verify that deployment is in Ready state")

test/openshift/e2e/ginkgo/sequential/1-052_validate_argocd_agent_agent_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
372372

373373
By("Create ArgoCD instance")
374374

375-
argoCD.Spec.ArgoCDAgent.Agent.Image = "quay.io/argoprojlabs/argocd-agent:v0.5.0"
375+
argoCD.Spec.ArgoCDAgent.Agent.Image = "quay.io/argoprojlabs/argocd-agent:v0.7.7"
376376
Expect(k8sClient.Create(ctx, argoCD)).To(Succeed())
377377

378378
By("Verify expected resources are created for agent pod")
@@ -383,7 +383,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
383383

384384
container := deploymentFixture.GetTemplateSpecContainerByName(argoCDAgentAgentName, *agentDeployment)
385385
Expect(container).ToNot(BeNil())
386-
Expect(container.Image).To(Equal("quay.io/argoprojlabs/argocd-agent:v0.5.0"))
386+
Expect(container.Image).To(Equal("quay.io/argoprojlabs/argocd-agent:v0.7.7"))
387387

388388
By("Verify environment variables are set correctly")
389389

@@ -400,7 +400,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
400400

401401
ac.Spec.ArgoCDAgent.Agent.LogLevel = "trace"
402402
ac.Spec.ArgoCDAgent.Agent.LogFormat = "json"
403-
ac.Spec.ArgoCDAgent.Agent.Image = "quay.io/argoprojlabs/argocd-agent:v0.5.1"
403+
ac.Spec.ArgoCDAgent.Agent.Image = "quay.io/argoprojlabs/argocd-agent:v0.7.7"
404404

405405
ac.Spec.ArgoCDAgent.Agent.Client.KeepAliveInterval = "60s"
406406
ac.Spec.ArgoCDAgent.Agent.Client.EnableWebSocket = ptr.To(true)
@@ -430,7 +430,7 @@ var _ = Describe("GitOps Operator Sequential E2E Tests", func() {
430430
if container == nil {
431431
return false
432432
}
433-
return container.Image == "quay.io/argoprojlabs/argocd-agent:v0.5.1"
433+
return container.Image == "quay.io/argoprojlabs/argocd-agent:v0.7.7"
434434
}, "120s", "5s").Should(BeTrue(), "Agent deployment should have the updated image")
435435

436436
By("Verify environment variables are updated correctly")

0 commit comments

Comments
 (0)