aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/cnf_conformance
diff options
context:
space:
mode:
Diffstat (limited to 'functest_kubernetes/cnf_conformance')
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index 2cf4baa9..e3e3fe0d 100644
--- a/functest_kubernetes/cnf_conformance/conformance.py
+++ b/functest_kubernetes/cnf_conformance/conformance.py
@@ -118,7 +118,9 @@ class CNFConformance(testcase.TestCase):
self.stop_time = time.time()
def clean(self):
- cmd = ['cnf-testsuite', 'cnf_cleanup',
- 'cnf-config=cnf-testsuite.yml']
- output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
- self.__logger.info("%s\n%s", " ".join(cmd), output.decode("utf-8"))
+ for clean_cmd in ['uninstall_cri_tools', 'uninstall_falco',
+ 'cnf_cleanup']:
+ cmd = ['cnf-testsuite', clean_cmd,
+ 'cnf-config=cnf-testsuite.yml']
+ output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
+ self.__logger.info("%s\n%s", " ".join(cmd), output.decode("utf-8"))