From aabcd3fb2b57a8e1e94aba31fb634ef22c9e43a7 Mon Sep 17 00:00:00 2001 From: Pablo Brasero Date: Mon, 16 Mar 2026 14:21:01 +0000 Subject: [PATCH] Option to disable parallel tests --- config/settings/test.yml | 2 ++ test/test_helper.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/settings/test.yml b/config/settings/test.yml index dd1ea1fb0..e5e17740f 100644 --- a/config/settings/test.yml +++ b/config/settings/test.yml @@ -62,3 +62,5 @@ system_test_headless: true # Override Firefox binary used in system tests # You can add this to config/settings/test.local.yml which is git-ignored #system_test_firefox_binary: +# Split test suite into parallel workers, when appropriate +enable_parallel_tests: true diff --git a/test/test_helper.rb b/test/test_helper.rb index 03a6a37f9..e2c15b604 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -48,7 +48,7 @@ module ActiveSupport # Running in the devcontainer. Can't figure out how # to run things in parallel at the moment, so for now # we are not doing it. - else + elsif Settings.enable_parallel_tests # Run tests in parallel with specified workers parallelize(:workers => :number_of_processors) -- 2.39.5