Bug 10874 - Run tests in parallel
Summary: Run tests in parallel
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 10873 10914
Blocks: 10872
  Show dependency treegraph
 
Reported: 2014-10-12 22:10 UTC by Jelmer Vernooij
Modified: 2019-06-11 21:24 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelmer Vernooij 2014-10-12 22:10:38 UTC
We'd like to run the tests in "make test" in parallel, so that we can actually utilize all cores in multi-core machines.

testr allows us to run tests in parallel, and we've already got most of the infrastructure to do that in place (selftest --list, selftest --load-list, .testr.conf).

The main thing that is preventing us from running testr are the fact that tests currently have to be run in a specific order, which we can't do with multiple workers.
Comment 1 Andrew Bartlett 2019-06-11 21:21:37 UTC
Fixed in Samba 4.9, 4.10 and 4.11 with increasing use of gitlab and the split up of the test environment.  

Not quite the fix asked for, but a practical step forward.