summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-04-06 06:27:42 +0000
committerGo MAEDA <maeda@farend.jp>2021-04-06 06:27:42 +0000
commitbd31345c87f8d19a98edb5977507bc8f76da1688 (patch)
treeccb39a5b9910ce286a550e20c7acff621f2c13be /test/test_helper.rb
parent684f88313760cf33f844ee3b265e46a6b0cbb739 (diff)
downloadredmine-bd31345c87f8d19a98edb5977507bc8f76da1688.tar.gz
redmine-bd31345c87f8d19a98edb5977507bc8f76da1688.zip
Allow parallel testing (#35030).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20920 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 10f4f6e35..95b877d44 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -53,6 +53,8 @@ class ActionView::TestCase
end
class ActiveSupport::TestCase
+ parallelize(workers: 1)
+
include ActionDispatch::TestProcess
self.use_transactional_tests = true