Merge pull request #89321 from oomichi/WaitForPodNoLongerRunning

Use e2epod.WaitForPodNoLongerRunningInNamespace directly
This commit is contained in:
Kubernetes Prow Robot
2020-03-20 20:00:53 -07:00
committed by GitHub
2 changed files with 2 additions and 8 deletions

View File

@@ -531,12 +531,6 @@ func (f *Framework) WaitForPodRunningSlow(podName string) error {
return e2epod.WaitForPodRunningInNamespaceSlow(f.ClientSet, podName, f.Namespace.Name)
}
// WaitForPodNoLongerRunning waits for the pod to no longer be running in the namespace, for either
// success or failure.
func (f *Framework) WaitForPodNoLongerRunning(podName string) error {
return e2epod.WaitForPodNoLongerRunningInNamespace(f.ClientSet, podName, f.Namespace.Name)
}
// ClientConfig an externally accessible method for reading the kube client config.
func (f *Framework) ClientConfig() *rest.Config {
ret := rest.CopyConfig(f.clientConfig)