Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Shastick committed Sep 12, 2024
1 parent 2b58aed commit 32a7944
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ def _step_attempt_mutation_missing_ovn(self):
)
except QueryError as qe:
self.record_queries(qe.queries)
if qe.cause_status_code in [400, 409]:
# An empty OVN can be seen as both an incorrect parameter as well as a conflict
# because the value is incorrect: we accept both a 400 and 409 return code here.
if qe.cause_status_code in [400, 404, 409]:
# An empty OVN can be seen as:
# an incorrect parameter (400), a reference to a non-existing entity (404) as well as a conflict (409)
pass
else:
check.record_failed(
Expand Down

0 comments on commit 32a7944

Please sign in to comment.