Merge lp:~abentley/launchpad/enable-tests into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 15688 |
| Proposed branch: | lp:~abentley/launchpad/enable-tests |
| Merge into: | lp:launchpad |
| Diff against target: | 0 lines |
| To merge this branch: | bzr merge lp:~abentley/launchpad/enable-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Raphaël Badin (community) | 2012-07-25 | Approve on 2012-07-25 | |
| Francesco Banconi (community) | code* | 2012-07-25 | Approve on 2012-07-25 |
|
Review via email:
|
|||
Commit Message
Fix and re-enable test_find_
Description of the Change
= Summary =
Fix bug #1018235: TestRunMissingJ
== Proposed fix ==
Wait until the queue state changes before making assertions about it.
== Pre-implementation notes ==
None
== LOC Rationale ==
I have a LOC credit of 1928
== Implementation details ==
Extract wait_for_queue from test_run_
== Tests ==
bin/test test_celeryjob
== Demo and Q/A ==
None
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
| Raphaël Badin (rvb) wrote : | # |
Looks good.
[0]
63 + sleep(1)
I see you haven't changed that but I'm wondering if we shouldn't use a more fine-grained value than one second. I don't have any data to know if this would gain us much but if we're going to use 'wait_for_queue' over and over again, that might be worth checking.

Looks good Aaron, thnak you.