Increase test pool size to avoid resource contention

This commit is contained in:
Claudio Ortolina
2024-10-08 20:37:28 +01:00
parent 52c1be1e32
commit e4c0ce58f6
+2 -1
View File
@@ -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,