Revert "Switched watches in tests require ResourceVersion to be passed"

This commit is contained in:
Antoine Pelisse
2016-07-19 13:28:57 -07:00
committed by GitHub
parent f871182917
commit 321c410308
18 changed files with 110 additions and 128 deletions

View File

@@ -152,8 +152,7 @@ var _ = framework.KubeDescribe("EmptyDir wrapper volumes", func() {
},
}
pod, err = f.Client.Pods(f.Namespace.Name).Create(pod)
if err != nil {
if pod, err = f.Client.Pods(f.Namespace.Name).Create(pod); err != nil {
framework.Failf("unable to create pod %v: %v", pod.Name, err)
}
@@ -176,6 +175,6 @@ var _ = framework.KubeDescribe("EmptyDir wrapper volumes", func() {
}
}()
framework.ExpectNoError(framework.WaitForPodRunningInNamespace(f.Client, pod))
framework.ExpectNoError(framework.WaitForPodRunningInNamespace(f.Client, pod.Name, f.Namespace.Name))
})
})