improve error logging on e2e pod create function

This commit is contained in:
Antonio Ojea
2020-05-12 13:41:56 +02:00
parent 70948498bc
commit aa4df0422b

View File

@@ -452,7 +452,7 @@ func CreateExecPodOrFail(client clientset.Interface, ns, generateName string, tw
}
return retrievedPod.Status.Phase == v1.PodRunning, nil
})
expectNoError(err)
expectNoError(err, "failed to create new exec pod in namespace: %s", ns)
return execPod
}