Skip to content

Commit

Permalink
!! DEBUG !!
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Devulder <[email protected]>
  • Loading branch information
ldevulder committed Oct 9, 2023
1 parent 67c4dab commit c973132
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/e2e/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@ var _ = Describe("ManagedOSImage Upgrade e2e tests", func() {
It("tries to apply a plan", func() {
By("creating a new ManagedOSImage referencing a ManagedOSVersion")

// !! DEBUG !!
pod, _ := kubectl.Run("get", "pod", "-A")
GinkgoWriter.Printf("Pods:\n%s\n", pod)
ns, _ := kubectl.Run("get", "namespace")
GinkgoWriter.Printf("Namespaces:\n%s\n", ns)
// !! DEBUG !!

createsCorrectPlan(map[string]runtime.RawExtension{
"upgradeImage": {Raw: []byte(`"registry.com/repository/image:v1.0"`)}, "robin": {Raw: []byte(`"batman"`)},
}, nil,
Expand Down

0 comments on commit c973132

Please sign in to comment.