You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/09/09 23:22:21 UTC
[jira] [Commented] (CB-11482) Device-motion
getCurrentAcceleration.accelerometer.spec.5 fails in CI
[ https://issues.apache.org/jira/browse/CB-11482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15478630#comment-15478630 ]
ASF subversion and git services commented on CB-11482:
------------------------------------------------------
Commit fe7b2139966740af7852ca403dbdb9c724059f72 in cordova-plugin-device-motion's branch refs/heads/1.2.x from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device-motion.git;h=fe7b213 ]
CB-11482 Fix unreliable tests on Android
This closes #46
> Device-motion getCurrentAcceleration.accelerometer.spec.5 fails in CI
> ---------------------------------------------------------------------
>
> Key: CB-11482
> URL: https://issues.apache.org/jira/browse/CB-11482
> Project: Apache Cordova
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Plugin Device Motion
> Reporter: Sergey Shakhnazarov
> Assignee: Vladimir Kotikov
> Labels: android, flaky, found-by-ci, reproduced, triaged
>
> cordova-plugin-device-motion-tests.tests >>.Accelerometer (navigator.accelerometer).getCurrentAcceleration.accelerometer.spec.5 success callback Acceleration object should return a recent timestamp
> Error Details
> Expected 1466763450194 to be less than 1466752652197.
> Stack Trace
> Error: Expected 1466763450194 to be less than 1466752652197.
> at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
> at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
> at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
> at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
> at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
> at Expectation.toBeLessThan (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
> at win (file:///android_asset/www/plugins/cordova-plugin-device-motion-tests/tests.js:116:31)
> at Object.win (file:///android_asset/www/plugins/cordova-plugin-device-motion/www/accelerometer.js:112:13)
> at file:///android_asset/www/plugins/cordova-plugin-device-motion/www/accelerometer.js:53:30
> at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org