From 8d954b6114be18a60f4b6377cab921831057a983 Mon Sep 17 00:00:00 2001 From: m-szalik Date: Sat, 27 Jul 2024 01:05:26 +0200 Subject: [PATCH] Cleanup aftert test should remove namespace (#6791) Signed-off-by: m-szalik --- testdata/go/v4/memcached-operator/test/e2e/e2e_test.go | 2 +- .../go/v4/monitoring/memcached-operator/test/e2e/e2e_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) })