Merge lp:~facundo/ubuntuone-client/unlock-waiting-for-queue into lp:ubuntuone-client
Proposed by
Facundo Batista
Status: | Merged |
---|---|
Approved by: | Facundo Batista |
Approved revision: | 908 |
Merged at revision: | 908 |
Proposed branch: | lp:~facundo/ubuntuone-client/unlock-waiting-for-queue |
Merge into: | lp:ubuntuone-client |
Diff against target: |
67 lines (+30/-3) 2 files modified
tests/syncdaemon/test_action_queue.py (+25/-0) ubuntuone/syncdaemon/action_queue.py (+5/-3) |
To merge this branch: | bzr merge lp:~facundo/ubuntuone-client/unlock-waiting-for-queue |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Facundo Batista (community) | Approve | ||
John O'Brien (community) | Approve | ||
Review via email: mp+52422@code.launchpad.net |
Commit message
Unlock the wait_for_queue when cancelled. (LP: #729158)
Description of the change
Unlock the wait_for_queue when cancelled.
If the command was waiting for the queue when cancelled, it never released the pathlock, because on cancellation it's removed from the queue, so when the queue become active again it didn't receive the "resume".
Tests included.
To post a comment you must log in.
Looks good and tests pass. You may want to make sure the ActionQueue.cancel doc string is still accurate.