Merge lp:~zsombi/ubuntu-ui-toolkit/dateUtilsTestFix into lp:ubuntu-ui-toolkit

Proposed by Zsombor Egri
Status: Merged
Approved by: Tim Peeters
Approved revision: 929
Merged at revision: 928
Proposed branch: lp:~zsombi/ubuntu-ui-toolkit/dateUtilsTestFix
Merge into: lp:ubuntu-ui-toolkit
Diff against target: 11 lines (+1/-0)
1 file modified
tests/unit/tst_components/tst_dateutils.qml (+1/-0)
To merge this branch: bzr merge lp:~zsombi/ubuntu-ui-toolkit/dateUtilsTestFix
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Tim Peeters Approve
Review via email: mp+203700@code.launchpad.net

Commit message

DateUtils test failure fix.

To post a comment you must log in.
Revision history for this message
Tim Peeters (tpeeters) wrote :

looks good, thanks

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote :

I can't reproduce the error:
MismatchError: u'est' != 'test'

It seems the textfield is not ready when we start typing. But I have been running it in a loop for like 10 minutes on my mako, and it always succeeds.

Have you seen this error any other time?

Revision history for this message
Tim Peeters (tpeeters) wrote :

Can it be related to the focus not being right when using the keyboard in textfield tests?
This bug - https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1259476

Revision history for this message
Tim Peeters (tpeeters) wrote :

The failure has nothing to do with the fix in this MR. And the bug that is fixed here blocks all other MRs to pass CI and autolanding tests until February 1, so I re-happroved and hope we get lucky with this one.

The bug causing the failure still needs to be fixed.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
929. By Zsombor Egri

CI kick

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote :

and another try to autoland...

Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/unit/tst_components/tst_dateutils.qml'
2--- tests/unit/tst_components/tst_dateutils.qml 2013-12-19 11:11:06 +0000
3+++ tests/unit/tst_components/tst_dateutils.qml 2014-01-30 14:02:06 +0000
4@@ -77,6 +77,7 @@
5 }
6 function test_daysInMonth(data) {
7 var date = new Date;
8+ date.setDate(1);
9 date.setMonth(data.month);
10 compare(date.daysInMonth(), data.days, "daysInMonth() failed for month " + (data.month + 1));
11 }

Subscribers

People subscribed via source and target branches

to status/vote changes: