Merge lp:~alan-griffiths/mir/fix-1245336 into lp:mir
Proposed by
Alan Griffiths
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1177 |
Proposed branch: | lp:~alan-griffiths/mir/fix-1245336 |
Merge into: | lp:mir |
Diff against target: |
65 lines (+11/-6) 1 file modified
tests/acceptance-tests/test_server_shutdown.cpp (+11/-6) |
To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-1245336 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Robert Carr (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
Avoid a race condition that could lead to spurious failures of server
shutdown tests (LP: #1245336)
The race is between the acceptance-tests process and its child server process.
In our signal/abort tests, it's possible the server process may start and
stop so quickly that the parent process doesn't have time to detect the
socket file (before it's correctly cleaned up).
Description of the change
tests: Use CrossProcessSync to avoid race condition
Ensure that the test process has detected the endpoint on the filesystem before terminating the server
To post a comment you must log in.
PASSED: Continuous integration, rev:1176 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/286/ jenkins. qa.ubuntu. com/job/ mir-android- trusty- i386-build/ 43 jenkins. qa.ubuntu. com/job/ mir-clang- trusty- amd64-build/ 42 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 15 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 15/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 15 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 15/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: 10.97.0. 26:8080/ job/mir- team-mir- development- branch- ci/286/ rebuild
http://