From 1f5842cb036a7a0063decca2227a6e0baf4d40a5 Mon Sep 17 00:00:00 2001 From: phala Date: Wed, 19 Jun 2024 14:13:22 +0200 Subject: [PATCH] Use Enforced for TLSPolicy --- testsuite/policy/tls_policy.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/testsuite/policy/tls_policy.py b/testsuite/policy/tls_policy.py index ba0e5529..d3c50dfa 100644 --- a/testsuite/policy/tls_policy.py +++ b/testsuite/policy/tls_policy.py @@ -3,7 +3,6 @@ from testsuite.gateway import Referencable from testsuite.openshift.client import OpenShiftClient from testsuite.policy import Policy -from testsuite.utils import has_condition class TLSPolicy(Policy): @@ -49,9 +48,3 @@ def __setitem__(self, key, value): def __getitem__(self, key): return self.model.spec[key] - - def wait_for_ready(self): - """TLSPolicy does not have Enforced - https://github.com/Kuadrant/kuadrant-operator/issues/572""" - success = self.wait_until(has_condition("Accepted", "True")) - assert success, f"{self.kind()} did not get ready in time"