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

Proposed by Albert Astals Cid
Status: Merged
Approved by: Andrea Cimitan
Approved revision: 2597
Merged at revision: 2624
Proposed branch: lp:~aacid/unity8/moreStableDashTestCardIconStyle
Merge into: lp:unity8
Diff against target: 36 lines (+14/-6)
1 file modified
tests/qmltests/Dash/tst_Dash.qml (+14/-6)
To merge this branch: bzr merge lp:~aacid/unity8/moreStableDashTestCardIconStyle
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
Unity8 CI Bot continuous-integration Needs Fixing
Review via email: mp+303235@code.launchpad.net

Commit message

Dash::test_cardIconStyle change compare into tryCompareFunction

On very slow machines (CI or valgrind) the UCProportionalShape is not created immediately so give it some slack

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:2597
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/1979/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/2598
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=vivid+overlay,testname=qmluitests.sh/1414
    FAILURE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/1414/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=yakkety,testname=qmluitests.sh/1414
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/2626
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/2506
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial+overlay/2506
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=yakkety/2506
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=yakkety/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=yakkety/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/2500/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/2500
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=yakkety/2500/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
y
 * Did CI run pass? If not, please explain why.
unrelated

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/qmltests/Dash/tst_Dash.qml'
2--- tests/qmltests/Dash/tst_Dash.qml 2016-06-21 08:14:56 +0000
3+++ tests/qmltests/Dash/tst_Dash.qml 2016-08-18 10:46:51 +0000
4@@ -631,18 +631,26 @@
5 tryCompare(dashContent.currentScope, "id", "clickscope");
6
7 scrollToCategory("dashCategorypredefined");
8- var tile = getCategoryDelegate("predefined", 2);
9- var proportionalShape = findChildsByType(tile, "UCProportionalShape");
10- compare(proportionalShape.length, 1);
11+ tryCompareFunction(function() {
12+ var tile = getCategoryDelegate("predefined", 2);
13+ var proportionalShape = findChildsByType(tile, "UCProportionalShape");
14+ return proportionalShape.length === 1;
15+ },
16+ true
17+ );
18
19 dash.setCurrentScope("libertine-scope.ubuntu_libertine-scope");
20 var dashContent = findChild(dash, "dashContent");
21 tryCompare(dashContent.currentScope, "id", "libertine-scope.ubuntu_libertine-scope");
22
23 scrollToCategory("dashCategory2");
24- tile = getCategoryDelegate("2", 2);
25- proportionalShape = findChildsByType(tile, "UCProportionalShape");
26- compare(proportionalShape.length, 1);
27+ tryCompareFunction(function() {
28+ var tile = getCategoryDelegate("2", 2);
29+ var proportionalShape = findChildsByType(tile, "UCProportionalShape");
30+ return proportionalShape.length === 1;
31+ },
32+ true
33+ );
34 }
35
36 function test_tempScopeItemXOnResize()

Subscribers

People subscribed via source and target branches