From e4c0ce58f603fd2420b7d664387d9424de11474f Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 8 Oct 2024 20:37:28 +0100 Subject: [PATCH] Increase test pool size to avoid resource contention --- config/test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/test.exs b/config/test.exs index 35118303..3463a3f5 100644 --- a/config/test.exs +++ b/config/test.exs @@ -7,7 +7,8 @@ import Config # Run `mix help test` for more information. config :music_library, MusicLibrary.Repo, database: Path.expand("../data/music_library_test.db", __DIR__), - pool_size: 5, + # Double the amount of concurrent tests + pool_size: 32, pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required,