From e038492c8a03b5b9595b509e12dac6b40d1e8c9c Mon Sep 17 00:00:00 2001 From: Dimitris-Ilias Gkanatsios Date: Mon, 26 Sep 2022 10:28:25 -0700 Subject: [PATCH] adding PodConditions to e2e (#416) --- cmd/e2e/utilities_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/e2e/utilities_test.go b/cmd/e2e/utilities_test.go index ce3f128b..2458ba8f 100644 --- a/cmd/e2e/utilities_test.go +++ b/cmd/e2e/utilities_test.go @@ -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) } } }