Merge lp:~aacid/unity8/makeTestShellFaster into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Michael Zanetti
Approved revision: 2598
Merged at revision: 2640
Proposed branch: lp:~aacid/unity8/makeTestShellFaster
Merge into: lp:unity8
Diff against target: 21 lines (+2/-2)
1 file modified
tests/qmltests/tst_Shell.qml (+2/-2)
To merge this branch: bzr merge lp:~aacid/unity8/makeTestShellFaster
Reviewer Review Type Date Requested Status
Lukáš Tinkl (community) Approve
Michael Zanetti (community) Approve
Unity8 CI Bot continuous-integration Needs Fixing
Review via email: mp+304253@code.launchpad.net

Commit message

Make test_Shell non ultra slow again

By setting the timeout to 0 to findChild we know may return null

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

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

FAILED: Continuous integration, rev:2598
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/2050/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/2694
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=vivid+overlay,testname=qmluitests.sh/1482
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/1482
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=yakkety,testname=qmluitests.sh/1482
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/2722
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/2595
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial+overlay/2595
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=yakkety/2595
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/2588/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/2588
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/2588/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/2050/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

lovely!

review: Approve
Revision history for this message
Michael Zanetti (mzanetti) wrote :

merged this into unified stages as I need to update tst_Shell a lot. this improves it *a lot*

review: Approve
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

OK, code looks good, CI agrees too. Will top approve after self testing

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/qmltests/tst_Shell.qml'
2--- tests/qmltests/tst_Shell.qml 2016-08-11 06:26:26 +0000
3+++ tests/qmltests/tst_Shell.qml 2016-08-29 12:45:54 +0000
4@@ -506,7 +506,7 @@
5 var greeter = findChild(shell, "greeter");
6 verify(greeter);
7
8- var loginList = findChild(greeter, "loginList");
9+ var loginList = findChild(greeter, "loginList", 0 /* timeout */);
10 // Only present in WideView
11 if (loginList) {
12 var userList = findChild(loginList, "userList");
13@@ -919,7 +919,7 @@
14
15 function findAppWindowForSurfaceId(surfaceId) {
16 // for PhoneStage and TabletStage
17- var delegate = findChild(shell, "spreadDelegate_" + surfaceId);
18+ var delegate = findChild(shell, "spreadDelegate_" + surfaceId, 0 /* timeout */);
19 if (!delegate) {
20 // for DesktopStage
21 delegate = findChild(shell, "appDelegate_" + surfaceId);

Subscribers

People subscribed via source and target branches