Skip to content

Commit 907aab6

Browse files
committed
Configure parallel tests in rails app (which doesn't work - yet)
1 parent 7681928 commit 907aab6

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

rails_app/config/environments/test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@
4242

4343
# Log to STDOUT
4444
config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
45+
config.log_level = "error"
4546
end

rails_app/test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class TestCase
4646

4747
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
4848
fixtures :all
49+
50+
parallelize(workers: :number_of_processors, threshold: 1)
4951
end
5052
end
5153

0 commit comments

Comments
 (0)