Skip to content

Commit

Permalink
test/io: use server-timing-enabled config
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Nov 22, 2023
1 parent ebe57a1 commit 31a7b6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/io/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ def test_server_timing_jwt_should_decrease_on_subsequent_requests(defaultenv):

env = {
**defaultenv,
"PGRST_DB_PLAN_ENABLED": "true",
"PGRST_SERVER_TIMING_ENABLED": "true",
"PGRST_JWT_CACHE_MAX_LIFETIME": "86400",
"PGRST_JWT_SECRET": "@/dev/stdin",
"PGRST_DB_CONFIG": "false",
Expand Down Expand Up @@ -1180,7 +1180,7 @@ def test_server_timing_jwt_should_not_decrease_when_caching_disabled(defaultenv)

env = {
**defaultenv,
"PGRST_DB_PLAN_ENABLED": "true",
"PGRST_SERVER_TIMING_ENABLED": "true",
"PGRST_JWT_CACHE_MAX_LIFETIME": "0", # cache disabled
"PGRST_JWT_SECRET": "@/dev/stdin",
"PGRST_DB_CONFIG": "false",
Expand Down Expand Up @@ -1210,7 +1210,7 @@ def test_jwt_cache_with_no_exp_claim(defaultenv):

env = {
**defaultenv,
"PGRST_DB_PLAN_ENABLED": "true",
"PGRST_SERVER_TIMING_ENABLED": "true",
"PGRST_JWT_CACHE_MAX_LIFETIME": "86400",
"PGRST_JWT_SECRET": "@/dev/stdin",
"PGRST_DB_CONFIG": "false",
Expand Down

0 comments on commit 31a7b6f

Please sign in to comment.