From c77fc298002bd5dba5615f4f444b49fcf40bbef4 Mon Sep 17 00:00:00 2001 From: Alex Zgabur Date: Wed, 6 Nov 2024 12:36:44 +0100 Subject: [PATCH] Fix reworded status in DNS/TLSPolicy Signed-off-by: Alex Zgabur --- .../gateway/reconciliation/test_invalid_issuer_reference.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/tests/singlecluster/gateway/reconciliation/test_invalid_issuer_reference.py b/testsuite/tests/singlecluster/gateway/reconciliation/test_invalid_issuer_reference.py index 56cf91b5..11e56436 100644 --- a/testsuite/tests/singlecluster/gateway/reconciliation/test_invalid_issuer_reference.py +++ b/testsuite/tests/singlecluster/gateway/reconciliation/test_invalid_issuer_reference.py @@ -36,7 +36,7 @@ def test_wrong_issuer_type(request, gateway, blame, module_label): has_condition( "Accepted", "False", - "Unknown", + "Invalid", 'invalid value "Gateway" for issuerRef.kind. Must be empty, "Issuer" or "ClusterIssuer"', ), timelimit=20, @@ -61,6 +61,6 @@ def test_non_existing_issuer(request, gateway, cluster, blame, module_label): policy.commit() assert policy.wait_until( - has_condition("Accepted", "False", "Unknown", 'ClusterIssuer.cert-manager.io "does-not-exist" not found'), + has_condition("Accepted", "False", "Invalid", 'unable to find issuer'), timelimit=20, ), f"Policy did not reach expected status, instead it was: {policy.refresh().model.status.conditions}"