-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Labels
area/testingTesting related issues and pull requestsTesting related issues and pull requestsgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Create dedicated namespaces per test case, then delete the whole NS at the end. This will help avoid the case where we fail to stop the kube-apiserver.
for example:
namedNS, err := testEnv.CreateNamespace(context.TODO(), mockReleaseNamespace)
g.Expect(err).NotTo(HaveOccurred())
t.Cleanup(func() {
_ = testEnv.Delete(context.TODO(), namedNS)
})
Metadata
Metadata
Assignees
Labels
area/testingTesting related issues and pull requestsTesting related issues and pull requestsgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
No status