Adding the following on test/spec/fixtures/schema.sql:
alter role postgrest_test_authenticator set statement_timeout to '10'
Makes the schema cache retry load on an endless loop without backoff:
# $ postgrest-with-postgresql-16 -f test/spec/fixtures/load.sql postgrest-run
# ...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
08/May/2024:21:06:46 +0200: Attempting to connect to the database...
Problem
Adding the following on
test/spec/fixtures/schema.sql
:Makes the schema cache retry load on an endless loop without backoff:
Previously reported on https://github.com/PostgREST/postgrest/issues/3424#issuecomment-2101258619