Skip to content

Commit

Permalink
Update 'identical hostname' tests since the behavior has changed
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Repel <[email protected]>
  • Loading branch information
trepel committed Nov 20, 2024
1 parent 35da085 commit 9ab2189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def commit(request, authorization, authorization2):
authorization.wait_for_ready()

# At this point the 'route2' has not been created yet so authorization2 is completely overridden by authorization1
authorization2.wait_until(has_condition("Enforced", "False", "Overridden")), (
assert authorization2.wait_until(has_condition("Enforced", "False", "Overridden")), (
f"'deny-all' AuthPolicy did not reach expected record status, instead it was: "
f"{authorization2.model.status.recordConditions}"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def commit(request, rate_limit, rate_limit2):
rate_limit.wait_for_ready()

# At this point the 'route2' has not been created yet so rate_limit2 is completely overridden by rate_limit
rate_limit2.wait_until(
assert rate_limit2.wait_until(
has_condition("Enforced", "False", "Overridden")
), f"'2pr10s' RLP did not reach expected record status, instead it was: {rate_limit2.model.status.recordConditions}"

Expand Down

0 comments on commit 9ab2189

Please sign in to comment.