From 0a1600608e627267886ce35fa0546d7b54f8f1e1 Mon Sep 17 00:00:00 2001 From: Jakub Smolar Date: Fri, 16 Aug 2024 12:30:46 +0200 Subject: [PATCH] Log tls policy model when wait for ready fails Signed-off-by: Jakub Smolar --- testsuite/kuadrant/policy/tls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/kuadrant/policy/tls.py b/testsuite/kuadrant/policy/tls.py index 2a381c70..5bd29c3e 100644 --- a/testsuite/kuadrant/policy/tls.py +++ b/testsuite/kuadrant/policy/tls.py @@ -51,5 +51,5 @@ def __getitem__(self, key): def wait_for_ready(self): """Increase timeout to account for letsEncrypt""" - success = self.wait_until(has_condition("Enforced", "True"), timelimit=180) - assert success, f"{self.kind()} did not get ready in time" + success = self.wait_until(has_condition("Enforced", "True"), timelimit=10) + assert success, f"{self.kind()} did not get ready in time:\n {self.refresh().model}"