Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zmberg committed Dec 14, 2023
1 parent f166411 commit 9fa17c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/rollout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ var _ = SIGDescribe("Rollout", func() {
canaryRevisionV1 := crss[0].Labels[apps.DefaultDeploymentUniqueLabelKey]
// check rollout status
Expect(GetObject(rollout.Name, rollout)).NotTo(HaveOccurred())
fmt.Println(util.DumpJSON(rollout))
Expect(rollout.Status.Phase).Should(Equal(v1alpha1.RolloutPhaseProgressing))
Expect(rollout.Status.CanaryStatus.StableRevision).Should(Equal(stableRevision))
Expect(rollout.Status.CanaryStatus.PodTemplateHash).Should(Equal(canaryRevisionV1))
Expand Down Expand Up @@ -992,6 +993,7 @@ var _ = SIGDescribe("Rollout", func() {
canaryRevisionV2 := crss[0].Labels[apps.DefaultDeploymentUniqueLabelKey]
// check rollout status
Expect(GetObject(rollout.Name, rollout)).NotTo(HaveOccurred())
fmt.Println(util.DumpJSON(rollout))
Expect(rollout.Status.Phase).Should(Equal(v1alpha1.RolloutPhaseProgressing))
Expect(rollout.Status.CanaryStatus.StableRevision).Should(Equal(stableRevision))
Expect(rollout.Status.CanaryStatus.PodTemplateHash).Should(Equal(canaryRevisionV2))
Expand Down

0 comments on commit 9fa17c9

Please sign in to comment.