Increase parallelism and tolerance for tests (CI particularly)

This commit is contained in:
Claudio Ortolina
2026-03-22 08:11:15 +00:00
parent 0edd5f317c
commit b215d23ff1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ jobs:
# See https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
MIX_OS_DEPS_COMPILE_PARTITION_COUNT: 2
- name: 🧪 Run tests
run: mix test
run: mix test --max-cases 8
env:
CLOAK_ENCRYPTION_KEY: f5ol1dJROsm9yi/tvtHiblN8aLH1FUN/obEvUcASx3U=
+1 -1
View File
@@ -11,7 +11,7 @@ config :music_library, MusicLibrary.Repo,
# Double the amount of concurrent tests
pool_size: 32,
pool: Ecto.Adapters.SQL.Sandbox,
busy_timeout: 10_000
busy_timeout: 20_000
config :music_library, MusicLibrary.BackgroundRepo,
database: