From 3895f9dc55fa12187844a7443ccfa26c52f16888 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 3 May 2021 16:03:08 +0200 Subject: Fix cnf-conformance results filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It also decreases criteria to 1 due to massive changes (dockerd). Change-Id: Ic420139e6355debae183a77d6b0c574801b05076 Signed-off-by: Cédric Ollivier (cherry picked from commit a025fb0ac12cd86ad4fb6dd05867fb273cdbb652) --- functest_kubernetes/cnf_conformance/conformance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest_kubernetes') diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py index 1ef42adc..be5fca8c 100644 --- a/functest_kubernetes/cnf_conformance/conformance.py +++ b/functest_kubernetes/cnf_conformance/conformance.py @@ -84,7 +84,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")) lfiles = glob.glob(os.path.join( - self.res_dir, 'results', 'cnf-testsuite-results-*.yml')) + self.res_dir, 'results', 'cnf-conformance-results-*.yml')) results = max(lfiles, key=os.path.getmtime) with open(os.path.join(self.res_dir, 'results', results)) as yfile: self.details = yaml.safe_load(yfile) -- cgit 1.2.3-korg