summaryrefslogtreecommitdiff
path: root/mailman/bin/docs/master.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/bin/docs/master.txt')
-rw-r--r--mailman/bin/docs/master.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/mailman/bin/docs/master.txt b/mailman/bin/docs/master.txt
index 2938c7ffb..0d3cade77 100644
--- a/mailman/bin/docs/master.txt
+++ b/mailman/bin/docs/master.txt
@@ -12,7 +12,13 @@ Start the master in a subthread.
>>> master = TestableMaster()
>>> master.start()
- >>> len(list(master.qrunner_pids)) == len(config.qrunners)
+
+There should be a process id for every qrunner that claims to be startable.
+
+ >>> from lazr.config import as_boolean
+ >>> startable_qrunners = [qconf for qconf in config.qrunner_configs
+ ... if as_boolean(qconf.start)]
+ >>> len(list(master.qrunner_pids)) == len(startable_qrunners)
True
Now verify that all the qrunners are running.