Merge lp:~alan-griffiths/mir/NestedServer.posts_when_scene_has_visible_changes into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Alan Griffiths on 2015-06-09 |
| Approved revision: | 2626 |
| Merged at revision: | 2639 |
| Proposed branch: | lp:~alan-griffiths/mir/NestedServer.posts_when_scene_has_visible_changes |
| Merge into: | lp:mir |
| Diff against target: |
77 lines (+50/-4) 1 file modified
tests/acceptance-tests/test_nested_mir.cpp (+50/-4) |
| To merge this branch: | bzr merge lp:~alan-griffiths/mir/NestedServer.posts_when_scene_has_visible_changes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alexandros Frantzis (community) | 2015-06-04 | Approve on 2015-06-09 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-06-08 | |
|
Review via email:
|
|||
Commit Message
tests: Test we get exactly the expected posts from a nested server
Description of the Change
tests: Test we get exactly the expected posts from a nested server
| Alan Griffiths (alan-griffiths) wrote : | # |
7: [ RUN ] NestedInput.
7: [1433432727.674278] mirserver: Starting
7: [1433432727.675137] mirserver: Selected driver: dummy (version 0.14.0)
7: [1433432727.679338] mirserver: Using software cursor
7: [1433432727.681407] mirserver: Mir version 0.14.0
7: [1433432727.732641] mirserver: Starting
7: [1433432727.733449] mirserver: Selected driver: dummy (version 0.14.0)
7: [1433432727.894537] mirserver: Mir version 0.14.0
7: [1433432738.076193] mirserver: Stopping
7: /tmp/buildd/
7: Actual function call count doesn't match EXPECT_
7: Expected: to be called at least once
7: Actual: never called - unsatisfied and active
7: [1433432738.154764] mirserver: Stopping
7: [ FAILED ] NestedInput.
Unrelated
- 2624. By Alan Griffiths on 2015-06-05
-
merge lp:mir
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2624
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alexandros Frantzis (afrantzis) wrote : | # |
33+ // No post on surface creation
37+ auto const surface = mtf::make_
38+ Mock::VerifyAnd
Due to the asynchronous nature of our communications (mainly from nested to host in this case) and processing, the absence of an exchange buffer call at this point doesn't provide the guarantee we want, since the exchange may occur at some later time. Introducing a delay would improve our chances of catching a regression at this checkpoint.
A redeeming feature of this particular test is that if we regress (i.e., post a buffer to the host when the client surface is created) and we don't catch the problem at the first checkpoint, the test will probably fail at a subsequent checkpoint because we will see one more buffer exchange than expected.
It would be good to document that the first checkpoint does not provide a strong guarantee of correctness, or perhaps remove it completely, and let the other checkpoints do the work.
A weak needs fixing.
- 2625. By Alan Griffiths on 2015-06-08
-
Helpful message
- 2626. By Alan Griffiths on 2015-06-08
-
merge lp:mir
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2626
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:2623 jenkins. qa.ubuntu. com/job/ mir-ci/ 4010/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/2715 jenkins. qa.ubuntu. com/job/ mir-clang- wily-amd64- build/228 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/2663 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 166/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 2663 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 2663/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/5508 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 20969
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/4010/ rebuild
http://