From: Fiete Ostkamp Date: Fri, 27 Feb 2026 07:23:28 +0000 (+0100) Subject: Fix nodeport check certs assertion X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=integration%2Fxtesting.git Fix nodeport check certs assertion - adjust condition in nodeport check certs script that marks test as successful Issue-ID: INT-2363 Change-Id: I43252eeb0c02d776b489c9f9ec0f86d722101635 Signed-off-by: Fiete Ostkamp --- diff --git a/infra-healthcheck/infra_healthcheck/k8stest.py b/infra-healthcheck/infra_healthcheck/k8stest.py index ec25ca4..0f0da32 100644 --- a/infra-healthcheck/infra_healthcheck/k8stest.py +++ b/infra-healthcheck/infra_healthcheck/k8stest.py @@ -68,7 +68,7 @@ class K8sTesting(testcase.TestCase): remarks.append(log.replace('>', '')) else: remarks.append(log) - if 'PASS' in remarks: + if any('PASS' in remark for remark in remarks): success = True self.details = details