680
Comment: sketch
|
678
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.