Diff for "ParallelTests"

Not logged in - Log In / Register

Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2010-10-20 00:36:43
Size: 678
Editor: lifeless
Comment: better url
Revision 6 as of 2011-07-10 21:27:20
Size: 822
Editor: lifeless
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Parallel testing would be nice. Theres a bunch of things to do to make it work. Parallel testing would be nice. Theres a bunch of things to do to make it work. See [[LEP/ParallelTesting|the LEP]] for constraints/goals/resourcing.
Line 16: Line 16:
 * Buildmaster slave tests hard code the xmlrpc port to 8221 everywhere.

Parallel testing would be nice. Theres a bunch of things to do to make it work. See the LEP for constraints/goals/resourcing.

Known bugs/issues: parallel test bugs

Design sketch:

  • bin/test --parallel runs N test runners with subunit, where N is the number of cores, and the tests are partitioned across runners.
  • Layers dynamically allocate/deallocate resources such as:
    • dbnames
    • config files
    • librarian work dir
    • librarian ports

Things that need specialist knowledge:

  • dynamically allocating ports for zope - port 8085 and 9025 specifically, which can then be fed back into e.g. zcml files/launchpad.conf.
  • Buildmaster slave tests hard code the xmlrpc port to 8221 everywhere.

ParallelTests (last edited 2012-05-24 11:24:29 by bac)