Mir

Merge lp://qastaging/~mir-team/mir/fix-1245336.2 into lp://qastaging/mir

Proposed by Daniel van Vugt
Status: Rejected
Rejected by: Daniel van Vugt
Proposed branch: lp://qastaging/~mir-team/mir/fix-1245336.2
Merge into: lp://qastaging/mir
Diff against target: 186 lines (+76/-6)
7 files modified
include/test/mir_test_framework/display_server_test_fixture.h (+3/-0)
include/test/mir_test_framework/process.h (+2/-0)
include/test/mir_test_framework/testing_process_manager.h (+2/-0)
tests/acceptance-tests/test_server_shutdown.cpp (+8/-6)
tests/mir_test_framework/display_server_test_fixture.cpp (+10/-0)
tests/mir_test_framework/process.cpp (+33/-0)
tests/mir_test_framework/testing_process_manager.cpp (+18/-0)
To merge this branch: bzr merge lp://qastaging/~mir-team/mir/fix-1245336.2
Reviewer Review Type Date Requested Status
Alan Griffiths Disapprove
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+193035@code.qastaging.launchpad.net

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).

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :
review: Disapprove

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches