Merge pull request #22275 from gmarek/flake

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-03-05 17:54:29 -08:00
2 changed files with 31 additions and 10 deletions

View File

@@ -1967,6 +1967,7 @@ func startPods(c *client.Client, replicas int, namespace string, podNamePrefix s
_, err := c.Pods(namespace).Create(&pod)
expectNoError(err)
}
Logf("Waiting for running...")
if waitForRunning {
label := labels.SelectorFromSet(labels.Set(map[string]string{"startPodsID": startPodsID}))
err := waitForPodsWithLabelRunning(c, namespace, label)