summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-03-19 10:34:37 +0400
committerLain Soykaf <lain@lain.com>2024-03-19 10:34:37 +0400
commit923803a5332f97a7ad4eaa1d77e38b3a7e6e2367 (patch)
treeaefef399c847d6440239c8b2d52dcc5a35c7f5b1 /test
parentcf0aa1238ccd137219253d76355f2dc0f89679ac (diff)
downloadpleroma-923803a5332f97a7ad4eaa1d77e38b3a7e6e2367.tar.gz
pleroma-923803a5332f97a7ad4eaa1d77e38b3a7e6e2367.zip
Tests: Explicitly set db pool size and max cases to the same value.
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs
index e65f7c1d1..4de50483c 100644
--- a/test/test_helper.exs
+++ b/test/test_helper.exs
@@ -4,6 +4,8 @@
Code.put_compiler_option(:warnings_as_errors, true)
+ExUnit.configure(max_cases: System.schedulers_online() * 2)
+
ExUnit.start(exclude: [:federated, :erratic])
if match?({:unix, :darwin}, :os.type()) do