Merge pull request #22084 from jayunit100/e2epanicreplica

Prevent panic in replica_set e2e
This commit is contained in:
Brian Grant 2016-02-27 05:12:49 -08:00
commit 2c9e2745b6

View File

@ -94,6 +94,7 @@ func ReplicaSetServeImageOrFail(f *Framework, test string, image string) {
label := labels.SelectorFromSet(labels.Set(map[string]string{"name": name}))
pods, err := podsCreated(f.Client, f.Namespace.Name, name, replicas)
Expect(err).NotTo(HaveOccurred())
By("Ensuring each pod is running")