mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Add logs for Pod observations while watching for a running state
This commit is contained in:
parent
a0861aeb52
commit
080ad0990a
@ -921,6 +921,9 @@ var _ = framework.KubeDescribe("Pods", func() {
|
||||
pod.ObjectMeta.Namespace == testNamespaceName &&
|
||||
pod.Labels["test-pod-static"] == "true" &&
|
||||
pod.Status.Phase == v1.PodRunning
|
||||
if !found {
|
||||
framework.Logf("observed Pod %v in namespace %v in phase %v", pod.ObjectMeta.Name, pod.ObjectMeta.Namespace, pod.Status.Phase)
|
||||
}
|
||||
return found, nil
|
||||
}
|
||||
return false, nil
|
||||
|
Loading…
Reference in New Issue
Block a user