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 1087a12 commit c9f8d80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ common/setup-components:

.PHONY: common/test
common/test: $(GINKGO)
losetup
$(SUDO) -E env \
PATH=${PATH} \
E2ETEST=1 \
Expand Down
2 changes: 2 additions & 0 deletions e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +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))
return fmt.Errorf("kubectl get deploy failed. stderr: %s, err: %w", string(stderr), err)
}

Expand Down

0 comments on commit c9f8d80

Please sign in to comment.