Merge lp:~nskaggs/ubuntu-calculator-app/add-min-press-time into lp:ubuntu-calculator-app
Proposed by
Nicholas Skaggs
on 2015-01-29
| Status: | Merged |
|---|---|
| Approved by: | Riccardo Padovani on 2015-01-29 |
| Approved revision: | 81 |
| Merged at revision: | 81 |
| Proposed branch: | lp:~nskaggs/ubuntu-calculator-app/add-min-press-time |
| Merge into: | lp:ubuntu-calculator-app |
| Diff against target: |
25 lines (+5/-3) 1 file modified
app/tests/autopilot/ubuntu_calculator_app/__init__.py (+5/-3) |
| To merge this branch: | bzr merge lp:~nskaggs/ubuntu-calculator-app/add-min-press-time |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-01-29 | |
| Riccardo Padovani | 2015-01-29 | Approve on 2015-01-29 | |
|
Review via email:
|
|||
Commit Message
add min press duration so tests don't randomly fail
Description of the Change
Make Riccardo happy :-)
Ohh, and also add a min press duration so tests don't randomly fail.
I believe what is sometimes happening is that the press time is/was effectively microseconds long and the UI doesn't have a chance to respond. Likely the migration to bignumber showed this as it seemed to occur for me when hitting '='. I assume the slightly longer overhead for calculations showed through causing bignumber to fail, while the original did not, despite the only difference being the math engine.
To post a comment you must log in.
review:
Approve
(continuous-integration)


Makes sense, thanks :-)