Project

General

Profile

Refactor #10106

Make tests run in parallel

Added by Daniel Lobato Garcia over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Currently our test suite runs in one core. By using parallel tests we can make it run in as many process as cores in the machine, which should yield much faster running times.


Related issues

Blocks Foreman - Tracker #10226: Core Sprint 1Resolved2015-04-202015-05-10

Associated revisions

Revision 9aadd812 (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Fixes #10106 - Make tests run in parallel

Run rake parallel:test to run tests in several processes. The gem will
auto split the tests in as many cores as you have available.

Keep in mind running tests in parallel could highlight race conditions
we would've missed otherwise, so some tests might to be fixed to ensure
any process can pick it up and run it.

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2299 added
  • Pull request deleted ()

#2 Updated by Eric Helms over 4 years ago

#3 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 63

#4 Updated by Daniel Lobato Garcia almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF