aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/cnf_conformance
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-09-29 14:03:17 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2024-09-29 14:04:15 +0200
commit3e64614f390a8e9891b8932c7ca537dde3479fca (patch)
tree595303b3f152bcb20d8afd46976213c3b87f0e6a /functest_kubernetes/cnf_conformance
parent899c6bcfba9999d037654b8596716e48b47cb41f (diff)
CNF TestSuite now uses cnf-default namespace
Change-Id: Ia595665cc8f84a2aabd141ead7bb343758cb3d18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 93c57b463c51116b99b3e59312cf8cf0c9bd6894)
Diffstat (limited to 'functest_kubernetes/cnf_conformance')
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index 41ce05c8..d1e4bcf1 100644
--- a/functest_kubernetes/cnf_conformance/conformance.py
+++ b/functest_kubernetes/cnf_conformance/conformance.py
@@ -64,7 +64,7 @@ class CNFConformance(testcase.TestCase):
if os.path.exists(os.path.join(self.src_dir, "results")):
shutil.rmtree(os.path.join(self.src_dir, "results"))
api_response = self.corev1.list_namespace()
- for namespace in ["cnf-testsuite", "default", "litmus"]:
+ for namespace in ["cnf-testsuite", "cnf-default", "litmus"]:
for item in api_response.items:
if item.metadata.name == namespace:
self.corev1.patch_namespace(
@@ -161,7 +161,7 @@ class CNFConformance(testcase.TestCase):
output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
self.__logger.info("%s\n%s", " ".join(cmd), output.decode("utf-8"))
try:
- for namespace in ["cnf-testsuite", "litmus"]:
+ for namespace in ["cnf-testsuite", "cnf-default", "litmus"]:
self.corev1.delete_namespace(namespace)
self.__logger.debug("delete_namespace: %s", namespace)
except client.rest.ApiException: