From e7c8d70333a6e4c38a3cb9e64b10dc9bb72c96e2 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 11 Jun 2026 11:42:23 -0500 Subject: [PATCH] test: correct test_admin_ready_includes_schema_cache_state There was an oversight on d556cea, `timeout_authenticator` doesn't have any privileges on the tables so it shouldn't be making requests to the API server or it will end up with 401 responses. --- test/io/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/io/test_io.py b/test/io/test_io.py index 63d7ebc67..7259aae28 100644 --- a/test/io/test_io.py +++ b/test/io/test_io.py @@ -745,7 +745,7 @@ def test_admin_ready_includes_schema_cache_state(defaultenv, metapostgrest): env = { **defaultenv, "PGUSER": role, - "PGRST_DB_ANON_ROLE": role, + "PGRST_DB_ANON_ROLE": "postgrest_test_anonymous", "PGRST_INTERNAL_SCHEMA_CACHE_QUERY_SLEEP": "500", }