From 2769e1a94863fa53efd4d4d440da124c0b969a3b Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 12 Apr 2026 09:37:07 -0500 Subject: [PATCH] Increase test DB ownership timeout to 60s Prevents sporadic sandbox timeout failures under full concurrent test load (24 async cases competing for DB connections). --- config/test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/test.exs b/config/test.exs index 4a409f04..538a5c16 100644 --- a/config/test.exs +++ b/config/test.exs @@ -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.