mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
improve error logging on e2e pod create function
This commit is contained in:
parent
70948498bc
commit
aa4df0422b
@ -452,7 +452,7 @@ func CreateExecPodOrFail(client clientset.Interface, ns, generateName string, tw
|
|||||||
}
|
}
|
||||||
return retrievedPod.Status.Phase == v1.PodRunning, nil
|
return retrievedPod.Status.Phase == v1.PodRunning, nil
|
||||||
})
|
})
|
||||||
expectNoError(err)
|
expectNoError(err, "failed to create new exec pod in namespace: %s", ns)
|
||||||
return execPod
|
return execPod
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user