test: fix some in-db config values

To correctly test in-db override of config file values, the former must be different from the latter.
This commit is contained in:
Laurence Isla
2024-03-27 15:59:35 -05:00
parent 428a6fef63
commit 378c11104b
3 changed files with 53 additions and 45 deletions
@@ -15,13 +15,13 @@ db-prepared-statements = false
db-root-spec = "other_root"
db-schemas = "test,other_tenant1,other_tenant2"
db-config = true
db-pre-config = "postgrest.pre_config"
db-pre-config = "postgrest.other_preconf"
db-tx-end = "rollback-allow-override"
db-uri = "postgresql://"
jwt-aud = "https://otherexample.org"
jwt-role-claim-key = ".\"other\".\"pre_config_role\""
jwt-secret = "ODERREALLYREALLYREALLYREALLYVERYSAFE"
jwt-secret-is-base64 = true
jwt-secret-is-base64 = false
jwt-cache-max-lifetime = 7200
log-level = "info"
openapi-mode = "disabled"
@@ -3,8 +3,8 @@ db-anon-role = "anonymous"
db-channel = "postgrest"
db-channel-enabled = false
db-extra-search-path = "public,extensions,private"
db-max-rows = 1000
db-plan-enabled = true
db-max-rows = 500
db-plan-enabled = false
db-pool = 1
db-pool-acquisition-timeout = 30
db-pool-max-lifetime = 3600
@@ -31,7 +31,7 @@ server-cors-allowed-origins = "http://origin.com"
server-host = "0.0.0.0"
server-port = 80
server-trace-header = "CF-Ray"
server-timing-enabled = true
server-timing-enabled = false
server-unix-socket = "/tmp/pgrst_io_test.sock"
server-unix-socket-mode = "777"
admin-server-port = 3001