mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #22084 from jayunit100/e2epanicreplica
Prevent panic in replica_set e2e
This commit is contained in:
commit
2c9e2745b6
@ -94,6 +94,7 @@ func ReplicaSetServeImageOrFail(f *Framework, test string, image string) {
|
|||||||
label := labels.SelectorFromSet(labels.Set(map[string]string{"name": name}))
|
label := labels.SelectorFromSet(labels.Set(map[string]string{"name": name}))
|
||||||
|
|
||||||
pods, err := podsCreated(f.Client, f.Namespace.Name, name, replicas)
|
pods, err := podsCreated(f.Client, f.Namespace.Name, name, replicas)
|
||||||
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
|
||||||
By("Ensuring each pod is running")
|
By("Ensuring each pod is running")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user