Skip to content

Commit

Permalink
test: print all pods at beginning of E2E test run (Azure#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored and acs-bot committed Jan 12, 2019
1 parent 1d9e7a1 commit 8e15c5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/e2e/kubernetes/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,15 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
Expect(ready).To(Equal(true))
})

It("should print all pods", func() {
cmd := exec.Command("kubectl", "get", "pods", "--all-namespaces", "-o", "wide")
out, err := cmd.CombinedOutput()
log.Printf("%s\n", out)
if err != nil {
log.Printf("Error: Unable to print all pods\n")
}
})

It("should have DNS pod running", func() {
var err error
var running bool
Expand Down

0 comments on commit 8e15c5e

Please sign in to comment.