diff --git a/testdata/go/v4/memcached-operator/test/e2e/e2e_test.go b/testdata/go/v4/memcached-operator/test/e2e/e2e_test.go index 0d07bc23e1..71541dd921 100644 --- a/testdata/go/v4/memcached-operator/test/e2e/e2e_test.go +++ b/testdata/go/v4/memcached-operator/test/e2e/e2e_test.go @@ -84,7 +84,7 @@ var _ = Describe("memcached", Ordered, func() { utils.UninstallCertManager() By("removing manager namespace") - cmd := exec.Command("kubectl", "create", "ns", namespace) + cmd := exec.Command("kubectl", "delete", "ns", namespace) _, _ = utils.Run(cmd) }) diff --git a/testdata/go/v4/monitoring/memcached-operator/test/e2e/e2e_test.go b/testdata/go/v4/monitoring/memcached-operator/test/e2e/e2e_test.go index 7ecea06753..f73acc23b6 100644 --- a/testdata/go/v4/monitoring/memcached-operator/test/e2e/e2e_test.go +++ b/testdata/go/v4/monitoring/memcached-operator/test/e2e/e2e_test.go @@ -100,7 +100,7 @@ var _ = Describe("memcached", Ordered, func() { utils.UninstallCertManager() By("removing manager namespace") - cmd := exec.Command("kubectl", "create", "ns", namespace) + cmd := exec.Command("kubectl", "delete", "ns", namespace) _, _ = utils.Run(cmd) })