diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-23 14:40:43 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-23 14:40:43 -0300 |
commit | decb83b9fd1106479c196771db657839d37d1481 (patch) | |
tree | e067d23648902cbccd31ffdf6ce0231da32220f3 | |
parent | 0b773c30fb5dd9822a5af21e395b1b994baca9d3 (diff) | |
download | rails-decb83b9fd1106479c196771db657839d37d1481.tar.gz rails-decb83b9fd1106479c196771db657839d37d1481.tar.bz2 rails-decb83b9fd1106479c196771db657839d37d1481.zip |
Use PROCESS_COUNT to define the number of parallel executors
-rw-r--r-- | actionpack/test/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 987ef7de1f..4e17d57dad 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -495,5 +495,5 @@ end if ActiveSupport::Testing::Isolation.forking_env? && PROCESS_COUNT > 0 # Use N processes (N defaults to 4) - Minitest.parallel_executor = ForkingExecutor.new((ENV['N'] || 4).to_i) + Minitest.parallel_executor = ForkingExecutor.new(PROCESS_COUNT) end |