Diff for "ParallelTests"

Not logged in - Log In / Register

Differences between revisions 2 and 3
Revision 2 as of 2010-10-20 00:35:05
Size: 680
Editor: lifeless
Comment: bullets
Revision 3 as of 2010-10-20 00:35:38
Size: 682
Editor: lifeless
Comment: urls
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
[https://bugs.launchpad.net/launchpad-project/+bugs?field.timeout=paralleltest|parallel test bugs] [[https://bugs.launchpad.net/launchpad-project/+bugs?field.timeout=paralleltest|parallel test bugs]]

Parallel testing would be nice. Theres a bunch of things to do to make it work.

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.

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