From 8e1e79ab817fdb401c69e513fe458e405ba8a9c1 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Fri, 27 Feb 2026 08:23:28 +0100 Subject: [PATCH] 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 --- infra-healthcheck/infra_healthcheck/k8stest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6