Increase test pool size to avoid resource contention
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ import Config
|
|||||||
# Run `mix help test` for more information.
|
# Run `mix help test` for more information.
|
||||||
config :music_library, MusicLibrary.Repo,
|
config :music_library, MusicLibrary.Repo,
|
||||||
database: Path.expand("../data/music_library_test.db", __DIR__),
|
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
|
pool: Ecto.Adapters.SQL.Sandbox
|
||||||
|
|
||||||
# We don't run a server during test. If one is required,
|
# We don't run a server during test. If one is required,
|
||||||
|
|||||||
Reference in New Issue
Block a user