Rails seeded parallel tests (#2037)

Enable work stealing by default for a tiny speedup at the cost of small
loss in reproducibility.

References https://github.com/rails/rails/pull/56175
This commit is contained in:
Jeremy Daer
2025-12-09 15:50:01 -08:00
committed by GitHub
parent fbb0c9d795
commit 85bd5c2df5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ end
module ActiveSupport
class TestCase
parallelize(workers: :number_of_processors)
parallelize workers: :number_of_processors, work_stealing: ENV["WORK_STEALING"] != "false"
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all