Skip to content

Commit

Permalink
Merge pull request #23546 from smarterclayton/cleanup_namespace
Browse files Browse the repository at this point in the history
e2e: Fix namespace cleanup
  • Loading branch information
openshift-merge-robot committed Aug 5, 2019
2 parents 1f8a694 + 96cdac9 commit 78b6f45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/extended/util/client.go
Expand Up @@ -200,8 +200,7 @@ func (c *CLI) SetupProject() {
})
o.Expect(err).NotTo(o.HaveOccurred())

// TODO: remove when https://github.com/kubernetes/kubernetes/pull/62606 merges and is in origin
c.namespacesToDelete = append(c.namespacesToDelete, newNamespace)
c.kubeFramework.AddNamespacesToDelete(&corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: newNamespace}})

e2e.Logf("Waiting on permissions in project %q ...", newNamespace)
err = WaitForSelfSAR(1*time.Second, 60*time.Second, c.KubeClient(), kubeauthorizationv1.SelfSubjectAccessReviewSpec{
Expand Down

0 comments on commit 78b6f45

Please sign in to comment.