Closed
Bug 859376
Opened 12 years ago
Closed 12 years ago
[homescreen] fix unreliable test about panning
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(b2g18 fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: julienw)
References
Details
Attachments
(1 file)
1.79 KB,
patch
|
crdlc
:
review+
|
Details | Diff | Splinter Review |
In homescreen, one test is failing only sometimes, which is not good.
Assignee | ||
Comment 1•12 years ago
|
||
see also https://github.com/mozilla-b2g/gaia/pull/9044
Replacing setTimeout by mozRequestAnimationFrame seems to make the test more
reliable.
---
apps/homescreen/test/unit/grid_test.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Assignee: nobody → felash
Attachment #734689 -
Flags: review?(crdlc)
Comment 2•12 years ago
|
||
Comment on attachment 734689 [details] [diff] [review]
patch v1
Perfect from my point of view
Attachment #734689 -
Flags: review?(crdlc) → review+
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•12 years ago
|
||
This is frustrating that the only build that fails for this test is the one for this commit :
https://travis-ci.org/mozilla-b2g/gaia/builds/6177609
will have a look again later...
Comment 5•12 years ago
|
||
woohh I guess that I merged it with green travis
Assignee | ||
Comment 6•12 years ago
|
||
yep travis was green on the PR.
This is an unreliable test... we can never be sure with setTimeout and requestAnimationFrame ;)
I guess I'll have to wait more time..
Assignee | ||
Comment 7•12 years ago
|
||
a=tests
pushed to v1-train: f2d67d4a3bbfa112c80d45f870a48a321f637ea3
status-b2g18:
--- → fixed
Assignee | ||
Comment 8•12 years ago
|
||
a=tests
v1.0.1: 99f111e7caf502981ea4886a3e113b2679d6bcdb
status-b2g18-v1.0.1:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•