Merge lp:~alan-griffiths/mir/fix-1317370 into lp:mir
Proposed by
Alan Griffiths
Status: | Merged |
---|---|
Approved by: | Alexandros Frantzis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1686 |
Proposed branch: | lp:~alan-griffiths/mir/fix-1317370 |
Merge into: | lp:mir |
Diff against target: |
44 lines (+12/-2) 1 file modified
tests/unit-tests/compositor/test_buffer_queue.cpp (+12/-2) |
To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-1317370 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alexandros Frantzis (community) | Approve | ||
Kevin DuBois (community) | Approve | ||
Alberto Aguirre (community) | Approve | ||
Review via email: mp+222157@code.launchpad.net |
Commit message
tests: BufferQueueTest
Description of the change
tests: BufferQueueTest
The previous code led to the "compositor" thread looping millions of times whilst the client tried to acquire the client_buffer_guard mutex a couple of thousand times. By introducing a condition variable the "compositor" waits briefly for the client to acquire a buffer (so that there is something to test).
To post a comment you must log in.
PASSED: Continuous integration, rev:1681 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/1820/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 461 jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 462 jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/460 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 339 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 339/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 338 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 338/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/1298 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/1298/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/1670 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 8111
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/1820/ rebuild
http://