Merge lp:~afrantzis/mir/fix-1462033-NestedInput-test-race into lp:mir
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2665 |
Proposed branch: | lp:~afrantzis/mir/fix-1462033-NestedInput-test-race |
Merge into: | lp:mir |
Diff against target: |
76 lines (+30/-13) 1 file modified
tests/acceptance-tests/test_nested_input.cpp (+30/-13) |
To merge this branch: | bzr merge lp:~afrantzis/mir/fix-1462033-NestedInput-test-race |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Alberto Aguirre (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Kevin DuBois (community) | Needs Information | ||
Review via email: mp+261955@code.launchpad.net |
Commit message
tests: Fix race in NestedInput test (LP: #1462033)
Because we are testing a nested setup, it's difficult to guarantee
that the nested framebuffer surface (and consenquently the client surface
contained in it) is going to be ready (i.e., exposed and focused) to receive
events when we send them. We work around this issue by first sending some
dummy events and waiting until we receive one of them.
Description of the change
tests: Fix race in NestedInput test (LP: #1462033)
Because we are testing a nested setup, it's difficult to guarantee
that the nested framebuffer surface (and consenquently the client surface
contained in it) is going to be ready (i.e., exposed and focused) to receive
events when we send them. We work around this issue by first sending some
dummy events and waiting until we receive one of them.
FAILED: Continuous integration, rev:2660 jenkins. qa.ubuntu. com/job/ mir-ci/ 4095/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/2842 jenkins. qa.ubuntu. com/job/ mir-clang- wily-amd64- build/355 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/2790/ console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 251 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 251/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 2790 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 2790/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/5622/ console s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 21187
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/4095/ rebuild
http://