Skip to content

Commit

Permalink
Logging statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrolds committed Nov 19, 2024
1 parent e63c035 commit 04eb2b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/kubernetes/testutils/assertions/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package assertions

import (
"context"
"fmt"
"time"

"github.com/onsi/ginkgo/v2"
Expand Down Expand Up @@ -31,6 +32,7 @@ func (p *Provider) EventuallyResourceStatusMatchesWarningReasons(getter helpers.
status, err := getResourceNamespacedStatus(getter)
g.Expect(err).NotTo(gomega.HaveOccurred(), "failed to get resource namespaced status")
g.Expect(status).ToNot(gomega.BeNil())
fmt.Printf("status: %v\n", status)
g.Expect(status).To(gomega.HaveValue(statusWarningsMatcher))
}, currentTimeout, pollingInterval).Should(gomega.Succeed())
}
Expand Down

0 comments on commit 04eb2b7

Please sign in to comment.