mailman tests cannot be parallelised (singleton mailman used)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lp-mailman |
Triaged
|
High
|
Unassigned |
Bug Description
There are two aspects to this:
- we have just one mailman we import
- it uses one work area on disk. (/var/tmp/mailman)
The only references to the work area are in:
lib/mailman/
VAR_PREFIX = '/var/tmp/mailman'
and
lib/mailman/
PUBLIC_
-add \
-dbfile /var/tmp/
-outdir /var/tmp/
-definevar ML-NAME=
-rcfile /var/tmp/
-stderr /var/tmp/
-stdout /var/tmp/
-spammode \
-umask 022'
we should be able to:
- insert a temporary package into Mailman.__path__
- in that package create a replacement Defaults and mm_cfg.py
- create a per-testrunner workdir in /tmp
tags: | added: parallel-test |
tags: |
added: paralleltest removed: parallel-test |
affects: | launchpad → lp-mailman |
I think I can just change monkey_patch to write a new file and add it to the path.\o/