From aef34dd4d3a9a0f4fd9edd16c4bae19c5a80cd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCchse?= Date: Mon, 1 Jun 2026 15:09:38 +0200 Subject: [PATCH] Fix timeout with new Cluster API due to renamed condition type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Büchse --- Tests/kaas/plugin/plugin_clusterstacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/kaas/plugin/plugin_clusterstacks.py b/Tests/kaas/plugin/plugin_clusterstacks.py index f13e9c941..ad29a6c20 100644 --- a/Tests/kaas/plugin/plugin_clusterstacks.py +++ b/Tests/kaas/plugin/plugin_clusterstacks.py @@ -30,7 +30,7 @@ def _get_condition_ready(self, co_api: _csh.CustomObjectsApi): return bool([ cond for cond in status.get('conditions', ()) - if cond.get('type', '').lower() == 'ready' + if cond.get('type', '').lower() in ('ready', 'available') # new Cluster API uses available if cond.get('status', '').lower() == 'true' ])