Merge lp:~sinzui/launchpad/mlist-sync-0 into lp:launchpad
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 11691 | ||||||||
Proposed branch: | lp:~sinzui/launchpad/mlist-sync-0 | ||||||||
Merge into: | lp:launchpad | ||||||||
Diff against target: |
183 lines (+29/-108) 2 files modified
lib/lp/services/mailman/doc/staging.txt (+26/-105) scripts/mlist-sync.py (+3/-3) |
||||||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/mlist-sync-0 | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edwin Grubbs (community) | code | Approve | |
Review via email: mp+37885@code.launchpad.net |
Description of the change
This is my branch to switch mlist-sync to a LaunchpadScript.
lp:~sinzui/launchpad/mlist-sync-0
Diff size: 184
Launchpad bug:
https:/
Test command: ./bin/test -vv --layer=Mailman -t staging
Pre-
Target release: 10.10
Switch mlist-sync to a LaunchpadScript
-------
mlist-sync generated a oops, but it should not. scripts/
this behavior as it inherits from LaunchpadCronSc
scripts directory. This would be a bug - it should inherit from
LaunchpadScript.
Rules
-----
* Change the script base to LaunchpadScript.
* Update staging.txt to reliably run. It times out often because
it indirectly setups of the test using integration tools. Directly
create the objects under test.
QA
--
* Verify mlist-sync does not appear in the oopses
Lint
----
Linting changed files:
lib/lp/
scripts/
Test
----
* lib/lp/
* We would not normally want to change this test because LaunchpadScript
is interchangeable with LaunchpadCronScript in this case, but the
test is very brittle. It often times out because it takes too long
for messages to move through the smtp and xmlrpc servers.
* I was able to replace the browser-based helpers with factory methods
that make the objects under test. This made the test stable.
* I could not discover a way to build the mboxes and archives, but I
did discover they are not required for the test! I reported bug
656417 because I think the rsync portion of the script should be
tested.
Implementation
--------------
* scripts/
* Changed the base class.
This looks good.