Merge lp:~roadmr/checkbox/588539 into lp:checkbox
Proposed by
Daniel Manrique
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 918 | ||||
Proposed branch: | lp:~roadmr/checkbox/588539 | ||||
Merge into: | lp:checkbox | ||||
Diff against target: |
433 lines (+322/-8) 6 files modified
backend (+2/-0) checkbox/lib/enum.py (+72/-0) checkbox/lib/fifo.py (+29/-4) checkbox/lib/selector.py (+207/-0) debian/changelog (+4/-1) plugins/backend_info.py (+8/-3) |
||||
To merge this branch: | bzr merge lp:~roadmr/checkbox/588539 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marc Tardif (community) | Approve | ||
Review via email: mp+63428@code.launchpad.net |
This proposal supersedes a proposal from 2011-06-03.
Description of the change
Modified frontend/backend interaction and FIFO handling so that:
1) The frontend doesn't hang if the backend fails to start
2) The frontend returns "empty" if the frontend hasn't responded to a message in a while
3) The frontend explicitly asks the backend to end when the test run finishes.
This takes care directly of bug 588539. By tweaking the interactive behavior when the backend fails to respond, it should also lead to an eventual fix for bug 334893.
(Rev. 921 - Fixed according to Marc's comments, and refactored some poorly-written (by me) code).
To post a comment you must log in.
First, you might like to use the default parameter when declaring the timeout property in the BackendInfo class rather than create an additional entry in examples/ checkbox. ini. Also, I think you want to declare it as an Int rather than a String property variable.
Second, you forgot a pdb statement in the stop message handler.