Skip to content

Commit b8b6e78

Browse files
committed
test: Flip condition that checks output
1 parent 0426a75 commit b8b6e78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/templates/kuttl/opa-authorization/check-opa.py.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ TEST_DATA = [
5151
{
5252
"query": "SET SESSION iceberg.test=true",
5353
# The requests are authorized, just a fake property
54-
{% if test_scenario['values']['trino'] == '470' %}
55-
"error": "Session property iceberg.test does not exist",
56-
{% else %}
54+
{% if test_scenario['values']['trino'] == '451' %}
5755
"error": "Session property 'iceberg.test' does not exist",
56+
{% else %}
57+
"error": "Session property iceberg.test does not exist",
5858
{% endif %}
5959
},
6060
# ## SCHEMA ##

0 commit comments

Comments
 (0)