Merge lp:~marcustomlinson/unity-scopes-api/increase_childscopes_timeouts into lp:unity-scopes-api/devel
Proposed by
Marcus Tomlinson
Status: | Merged |
---|---|
Approved by: | Marcus Tomlinson |
Approved revision: | 584 |
Merged at revision: | 585 |
Proposed branch: | lp:~marcustomlinson/unity-scopes-api/increase_childscopes_timeouts |
Merge into: | lp:unity-scopes-api/devel |
Diff against target: |
255 lines (+66/-10) 11 files modified
CMakeLists.txt (+1/-1) CONFIGFILES (+10/-0) RELEASE_NOTES.md (+6/-0) debian/changelog (+8/-0) include/unity/scopes/internal/DfltConfig.h.in (+7/-6) include/unity/scopes/internal/zmq_middleware/ZmqConfig.h (+2/-0) include/unity/scopes/internal/zmq_middleware/ZmqMiddleware.h (+2/-0) include/unity/scopes/internal/zmq_middleware/ZmqScope.h (+1/-0) src/scopes/internal/zmq_middleware/ZmqConfig.cpp (+13/-0) src/scopes/internal/zmq_middleware/ZmqMiddleware.cpp (+6/-0) src/scopes/internal/zmq_middleware/ZmqScope.cpp (+10/-3) |
To merge this branch: | bzr merge lp:~marcustomlinson/unity-scopes-api/increase_childscopes_timeouts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michi Henning (community) | Approve | ||
Review via email: mp+257266@code.launchpad.net |
Commit message
Give child_scopes() and set_child_scopes() methods more time to process as these methods read and write to disk.
To post a comment you must log in.
A test failure recently popped up where the child_scopes() method timed out during a ChildScopes test on i386 (https:/ /jenkins. qa.ubuntu. com/job/ unity-scopes- api-devel- vivid-i386- autolanding/ 81/console).
The 500ms two-way timeout seems barely sufficient enough for the child_scopes() and set_child_scopes() methods to successfully read and write to the child-scopes.json file before returning.
This change now allows for these methods to complete within 2s.