mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e9f6ce617b
* Add option to set parallel test worker count to the physical core count of the machine Also, use the physical core count of the machine as the default number of workers, and generate the `test_helper.rb` file with `parallelize(workers: :number_of_processors)` Closes #34734 * Ensure that we always test parallel testing Since #34734 we decided to use the physical core count of the machine as the default number of workers in the parallel testing, we need to ensure that some tests use at least 2 workers because we could run those tests on VM that has only 1 physical core. It also fixes tests failures on the CI since Travis server we are using has only one physical core. See https://travis-ci.org/rails/rails/jobs/469281088#L2352 |
||
---|---|---|
.. | ||
api | ||
application | ||
command | ||
commands | ||
console | ||
engine | ||
generators | ||
plugin | ||
rack | ||
railtie | ||
tasks | ||
templates | ||
test_unit | ||
all.rb | ||
app_loader.rb | ||
app_updater.rb | ||
application.rb | ||
application_controller.rb | ||
backtrace_cleaner.rb | ||
cli.rb | ||
code_statistics.rb | ||
code_statistics_calculator.rb | ||
command.rb | ||
commands.rb | ||
configuration.rb | ||
dev_caching.rb | ||
engine.rb | ||
gem_version.rb | ||
generators.rb | ||
info.rb | ||
info_controller.rb | ||
initializable.rb | ||
mailers_controller.rb | ||
paths.rb | ||
rack.rb | ||
railtie.rb | ||
ruby_version_check.rb | ||
secrets.rb | ||
source_annotation_extractor.rb | ||
tasks.rb | ||
test_help.rb | ||
version.rb | ||
welcome_controller.rb |