mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #47364 from ericchiang/fix-empty-namespace-watch
test/e2e: fix empty namespace being passed to wait
This commit is contained in:
commit
76b5ce0f2a
@ -145,7 +145,7 @@ func ensurePodsAreRemovedWhenNamespaceIsDeleted(f *framework.Framework) {
|
|||||||
// This error is ok, beacuse we will delete the pod before it completes initialization
|
// This error is ok, beacuse we will delete the pod before it completes initialization
|
||||||
framework.Logf("error from create uninitialized namespace: %v", err)
|
framework.Logf("error from create uninitialized namespace: %v", err)
|
||||||
}()
|
}()
|
||||||
podB = waitForPodInNamespace(f.ClientSet, podB.Namespace, podB.Name)
|
podB = waitForPodInNamespace(f.ClientSet, namespace.Name, podB.Name)
|
||||||
|
|
||||||
By("Deleting the namespace")
|
By("Deleting the namespace")
|
||||||
err = f.ClientSet.Core().Namespaces().Delete(namespace.Name, nil)
|
err = f.ClientSet.Core().Namespaces().Delete(namespace.Name, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user