Update network_partition.go

Remaining fix for e2e test.
This commit is contained in:
Anirudh Ramanathan 2016-11-05 13:31:53 -07:00 committed by GitHub
parent 0f57858a14
commit 6ea8606c59

View File

@ -407,6 +407,7 @@ var _ = framework.KubeDescribe("Network Partition [Disruptive] [Slow]", func() {
Expect(err).NotTo(HaveOccurred())
pst := statefulSetTester{c: c}
pst.waitForRunning(ps.Spec.Replicas, ps)
pod := pst.getPodList(ps).Items[0]
node, err := c.Core().Nodes().Get(pod.Spec.NodeName)