Merge lp:~frankban/launchpad/bug-1015318 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Graham Binns on 2012-06-22 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15474 |
| Proposed branch: | lp:~frankban/launchpad/bug-1015318 |
| Merge into: | lp:launchpad |
| Diff against target: |
21 lines (+6/-3) 1 file modified
lib/lp/codehosting/scanner/tests/test_email.py (+6/-3) |
| To merge this branch: | bzr merge lp:~frankban/launchpad/bug-1015318 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Graham Binns (community) | code | 2012-06-22 | Approve on 2012-06-22 |
|
Review via email:
|
|||
Commit Message
Fixed lp.codehosting.
Description of the Change
= Summary =
lp.codehosting.
lp.registry.
lp.registry.
The failure is a database disconnection error probably raised because transaction.
commit is itself called by a celery job that retrieves notification emails: pop_remote_
== Proposed fix ==
Enable and start a job in order to recreate a connection before calling pop_remote_
== Implementation details ==
RevisionMailJob sends emails about revisions when a revision is added to a branch. We execute this job and then flush the notifications, so that we can then test that RevisionsAddedJob is actually called via celery.
== Tests ==
bin/test -cvv --load-list mylist
where mylist contains:
lp.registry.
lp.registry.
lp.codehosting.
NO QA
