HomePhorge

(maint) Add rake task for parallelizing specs.
420a9db66004Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Add rake task for parallelizing specs.

Adding a 'parallel:spec' task that will group specs and then run those
groups in a parallel set of processes.

By default, parallel:spec will bunch the specs into groups of
approximately 1000 and concurrently run each group up to the number of
processors reported by facter.

The task takes two parameters: process_count and group_size.

Running with a process_count of 1 (parallel:spec[1]) will behave like
the existing 'spec' task, except it will still group the tests and
recycle the spec running process between groups. This has the added
benefit of limiting the spec running process' working set, at the cost
of being a little slower.

Details

Event Timeline

Peter Huene <peter.huene@puppetlabs.com> committed rPU420a9db66004: (maint) Add rake task for parallelizing specs. (authored by Peter Huene <peter.huene@puppetlabs.com>).Mar 7 2014, 7:19 PM