Wait till netexec is Ready in kubeproxy e2e

This commit is contained in:
Prashanth Balasubramanian
2015-12-14 10:21:21 -08:00
parent 577eb94c68
commit 92ff05f2e6
6 changed files with 115 additions and 10 deletions

View File

@@ -251,6 +251,11 @@ func (f *Framework) WaitForPodRunning(podName string) error {
return waitForPodRunningInNamespace(f.Client, podName, f.Namespace.Name)
}
// WaitForPodReady waits for the pod to flip to ready in the namespace.
func (f *Framework) WaitForPodReady(podName string) error {
return waitTimeoutForPodReadyInNamespace(f.Client, podName, f.Namespace.Name, podStartTimeout)
}
// WaitForPodRunningSlow waits for the pod to run in the namespace.
// It has a longer timeout then WaitForPodRunning (util.slowPodStartTimeout).
func (f *Framework) WaitForPodRunningSlow(podName string) error {