Skip to content

Commit

Permalink
adding PodConditions to e2e (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkanatsios authored Sep 26, 2022
1 parent c010704 commit e038492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/e2e/utilities_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ func verifyPods(ctx context.Context, kubeClient client.Client, state buildState)
if pod.Status.Phase != corev1.PodRunning && len(pod.Status.ContainerStatuses) > 0 {
for i := 0; i < len(pod.Status.ContainerStatuses); i++ {
if !pod.Status.ContainerStatuses[i].Ready {
s += fmt.Sprintf("-(State: %v)", pod.Status.ContainerStatuses[i].State)
s += fmt.Sprintf("-(State: %v) ", pod.Status.ContainerStatuses[i].State)
s += fmt.Sprintf("-(Conditions: %v) ", pod.Status.Conditions)
}
}
}
Expand Down

0 comments on commit e038492

Please sign in to comment.