[
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: [email protected]
For additional commands, e-mail: [email protected]