test(io): reset statement_timeout of anon role to correct value

Forgot to do this in bfb4f900e7.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-02-18 12:46:30 +00:00
committed by Wolfgang Walther
parent 85a313a8cc
commit b977ffbb90
+2 -2
View File
@@ -946,7 +946,7 @@ def test_role_settings(defaultenv):
# reset statement timeout to original value
response = postgrest.session.post(
"/rpc/change_role_statement_timeout", data={"timeout": "2s"}
"/rpc/change_role_statement_timeout", data={"timeout": "5s"}
)
assert response.status_code == 204
@@ -1428,7 +1428,7 @@ def test_first_hoisted_setting_is_applied(defaultenv):
"/rpc/rpc_with_one_hoisted?select=get_work_mem,get_statement_timeout"
)
assert response.text == '{"get_work_mem":"3000kB","get_statement_timeout":"2s"}'
assert response.text == '{"get_work_mem":"3000kB","get_statement_timeout":"5s"}'
def test_second_hoisted_setting_is_applied(defaultenv):