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
No known key found for this signature in database
GPG Key ID: E4833AA228D4E824

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
}