Mir

Merge lp://qastaging/~alan-griffiths/mir/revert-3423 into lp://qastaging/mir

Proposed by Alan Griffiths
Status: Rejected
Rejected by: Alan Griffiths
Proposed branch: lp://qastaging/~alan-griffiths/mir/revert-3423
Merge into: lp://qastaging/mir
Diff against target: 224 lines (+173/-18)
2 files modified
examples/CMakeLists.txt (+7/-1)
examples/scroll.cpp (+166/-17)
To merge this branch: bzr merge lp://qastaging/~alan-griffiths/mir/revert-3423
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
Alberto Aguirre (community) Disapprove
Mir CI Bot continuous-integration Approve
Review via email: mp+290292@code.qastaging.launchpad.net

Commit message

examples: revert -c 3423 to restore test scenario

Description of the change

examples: revert -c 3423 to restore test scenario

To post a comment you must log in.
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

PASSED: Continuous integration, rev:3426
https://mir-jenkins.ubuntu.com/job/mir-ci/688/
Executed test runs:
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-mir/640
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-0-fetch/677
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/669
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial/669
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=vivid+overlay/650
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=vivid+overlay/650/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial/650
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial/650/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=cross-armhf,compiler=gcc,platform=android,release=vivid+overlay/650
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=cross-armhf,compiler=gcc,platform=android,release=vivid+overlay/650/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=android,release=vivid+overlay/650
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=android,release=vivid+overlay/650/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/650
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/650/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://mir-jenkins.ubuntu.com/job/mir-ci/688/rebuild

review: Approve (continuous-integration)
Revision history for this message
Alberto Aguirre (albaguirre) wrote :

I don't think impolite clients belong in "examples".

Perhaps we can have this under <mir>/tests/impolite-clients

review: Disapprove
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> I don't think impolite clients belong in "examples".

I agree we should have "good" examples, the question is whether that trumps having a test that real servers handle bad clients.

Reverting is a quick way to restore the test.

> Perhaps we can have this under <mir>/tests/impolite-clients

I want to add some more "smoke" tests, but fixing that takes a little longer. E.g. we don't seem to be running mir_stress anywhere.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Regardless of whether people think an example is good or bad, polite or impolite, I think we do need more standalone examples. And more examples that don't all use the same codebase, but rather can be viewed in a single source file.

So yeah it's less clean but more useful as an 'example' this way.

review: Approve
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Withdrawing the MP.

My principle motivation was to restore the test, but we now "smoke test" the same code in mir_test_client_impolite_shutdown (e.g.https://mir-jenkins.ubuntu.com/job/device-runtests-mir/device_type=krillin/323/console).

Unmerged revisions

3426. By Alan Griffiths

Revert -c 3423

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