Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cupnes committed Feb 29, 2024
1 parent c9f8d80 commit 12e6b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ var _ = BeforeSuite(func() {
Eventually(func() error {
stdout, stderr, err := kubectl("-n", operatorNamespace, "get", "deploy", "rook-ceph-osd-0", "-o", "json")
if err != nil {
stdout2, _, err := kubectl("-n", operatorNamespace, "get", "pod")
fmt.Printf(string(stdout2))
stdout2, _, err := kubectl("-n", operatorNamespace, "get", "pod", "|", "grep", "rook-ceph-operator")
fmt.Print(string(stdout2))
return fmt.Errorf("kubectl get deploy failed. stderr: %s, err: %w", string(stderr), err)
}

Expand Down

0 comments on commit 12e6b8d

Please sign in to comment.