Merge lp:~fcorrea/landscape-client/wait-for-valid-session-id-on-resynchronize into lp:~landscape/landscape-client/trunk
Proposed by
Fernando Correa Neto
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Fernando Correa Neto | ||||
Approved revision: | 829 | ||||
Merged at revision: | 826 | ||||
Proposed branch: | lp:~fcorrea/landscape-client/wait-for-valid-session-id-on-resynchronize | ||||
Merge into: | lp:~landscape/landscape-client/trunk | ||||
Diff against target: |
249 lines (+64/-25) 4 files modified
landscape/broker/client.py (+2/-2) landscape/broker/tests/test_client.py (+11/-0) landscape/monitor/tests/test_usermonitor.py (+44/-20) landscape/monitor/usermonitor.py (+7/-3) |
||||
To merge this branch: | bzr merge lp:~fcorrea/landscape-client/wait-for-valid-session-id-on-resynchronize | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Free Ekanayaka (community) | Approve | ||
Benji York (community) | Approve | ||
Review via email: mp+282483@code.launchpad.net |
Commit message
Changes the user monitor plugin to wait on a valid session id.
Description of the change
With the scope resync work, the user monitor plugin stopped working.
Since now we rely on a valid session id in order to send a message to the server, the user monitor plugin must wait until it gets a valid session.
The fix was provided by Free and a test and some cleanups were added as well.
To post a comment you must log in.
Thanks for the branch, it looks good.