From 18b7eda07ce5dbfd67ee2f66fc1d13fcdffd149e Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Mon, 4 May 2015 15:14:23 +0200 Subject: [PATCH] Log host for failed pod --- test/e2e/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/util.go b/test/e2e/util.go index 6cbff9f45b4..91206416149 100644 --- a/test/e2e/util.go +++ b/test/e2e/util.go @@ -593,7 +593,7 @@ func VerifyContainersAreNotFailed(pod api.Pod) error { } else { for _, status := range statuses { if status.State.Termination != nil || status.LastTerminationState.Termination != nil || status.RestartCount != 0 { - errStrings = append(errStrings, fmt.Sprintf("Error: Pod %s: Container %s was found to have terminated %d times", pod.Name, status.Name, status.RestartCount)) + errStrings = append(errStrings, fmt.Sprintf("Error: Pod %s (host: %s) : Container %s was found to have terminated %d times", pod.Name, pod.Spec.Host, status.Name, status.RestartCount)) } } }