Merge pull request #111324 from wojtek-t/cleanup_testing_namespace

Cleanup no longer used Create/Delete TestingNamespace
This commit is contained in:
Kubernetes Prow Robot
2022-07-22 00:05:49 -07:00
committed by GitHub
2 changed files with 1 additions and 23 deletions

View File

@@ -213,7 +213,7 @@ func CleanupTest(t *testing.T, testCtx *TestContext) {
testCtx.CancelFn()
// Cleanup nodes.
testCtx.ClientSet.CoreV1().Nodes().DeleteCollection(context.TODO(), metav1.DeleteOptions{}, metav1.ListOptions{})
framework.DeleteTestingNamespace(testCtx.NS, t)
framework.DeleteNamespaceOrDie(testCtx.ClientSet, testCtx.NS, t)
testCtx.CloseFn()
}