Add logs for Pod observations while watching for a running state
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Caleb Woodbine
					Caleb Woodbine