Increase test DB ownership timeout to 60s
Prevents sporadic sandbox timeout failures under full concurrent test load (24 async cases competing for DB connections).
This commit is contained in:
parent
48b365af5e
commit
2769e1a948
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ config :microwaveprop, Microwaveprop.Repo,
|
|||
hostname: "localhost",
|
||||
database: "microwaveprop_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
pool_size: System.schedulers_online() * 2
|
||||
pool_size: System.schedulers_online() * 2,
|
||||
ownership_timeout: 60_000
|
||||
|
||||
# We don't run a server during test. If one is required,
|
||||
# you can enable the server option below.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue