Merge pull request #111324 from wojtek-t/cleanup_testing_namespace
Cleanup no longer used Create/Delete TestingNamespace
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user