Debug values when test fail

This commit is contained in:
Antonio Ojea 2019-07-27 00:59:53 +02:00
parent 9c75f4a40a
commit d20698a7a8
No known key found for this signature in database
GPG Key ID: E4833AA228D4E824

View File

@ -141,7 +141,7 @@ var _ = ginkgo.Describe("[sig-node] Downward API", func() {
{
Name: "dapi-container",
Image: imageutils.GetE2EImage(imageutils.BusyBox),
Command: []string{"sh", "-c", `[[ "${HOST_IP:?}" == "${POD_IP:?}" ]] && echo 'OK'`},
Command: []string{"sh", "-c", `[[ "${HOST_IP:?}" == "${POD_IP:?}" ]] && echo 'OK' || echo "HOST_IP: '${HOST_IP}' != POD_IP: '${POD_IP}'"`},
Env: env,
},
},