Skip to content

Commit

Permalink
Fix reworded status in DNS/TLSPolicy
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Zgabur <[email protected]>
  • Loading branch information
azgabur committed Nov 6, 2024
1 parent 89c3a7a commit c77fc29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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}"

0 comments on commit c77fc29

Please sign in to comment.