Merge lp:~rockstar/launchpad/job-suspended-status into lp:launchpad
Proposed by
Paul Hummer
Status: | Merged |
---|---|
Approved by: | Muharem Hrnjadovic |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~rockstar/launchpad/job-suspended-status |
Merge into: | lp:launchpad |
Diff against target: |
129 lines (+76/-1) 3 files modified
lib/lp/services/job/interfaces/job.py (+16/-0) lib/lp/services/job/model/job.py (+14/-1) lib/lp/services/job/tests/test_job.py (+46/-0) |
To merge this branch: | bzr merge lp:~rockstar/launchpad/job-suspended-status |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Muharem Hrnjadovic (community) | code | Approve | |
Review via email: mp+17173@code.launchpad.net |
To post a comment you must log in.
This branch adds a JobStatus.SUSPENDED state, as well as suspend and resume
methods for IJob interfaces. Jobs can only be suspended if they are in a
waiting state, and suspended jobs can only transition to waiting.