Diff for "ParallelTests"

Not logged in - Log In / Register

Differences between revisions 5 and 6
Revision 5 as of 2010-11-18 11:21:55
Size: 752
Comment:
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.

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)