Diff for "ParallelTests"

Not logged in - Log In / Register

Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2010-10-20 00:32:44
Size: 680
Editor: lifeless
Comment: sketch
Revision 4 as of 2010-10-20 00:36:43
Size: 678
Editor: lifeless
Comment: better url
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.tag=paralleltest|parallel test bugs]]
Line 7: Line 7:
 - 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
 * 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
Line 15: Line 15:
 - dynamically allocating ports for zope - port 8085 and 9025 specifically, which can then be fed back into e.g. zcml files/launchpad.conf.  * dynamically allocating ports for zope - port 8085 and 9025 specifically, which can then be fed back into e.g. zcml files/launchpad.conf.

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)