Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11188

cordova-plugin-device-motion-tests are failing in CI

    XMLWordPrintableJSON

Details

    Description

      Error happening in multiple platforms. Sample Link: https://ci.apache.org/builders/cordova-android-win/builds/2276/steps/getting-test-results/logs/stdio

      Sample Error
      ===========
      Total failures: 1
      Failing tests:
      cordova-plugin-device-motion-tests.tests >> Accelerometer (navigator.accelerometer) watchAcceleration accelerometer.spec.9 success callback Acceleration object should return a recent timestamp
      Expected 1462208916338 to be greater than 1462208916528.
      Error: Expected 1462208916338 to be greater than 1462208916528.
      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.toBeGreaterThan (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:186:33)
      at file:///android_asset/www/plugins/cordova-plugin-device-motion/www/accelerometer.js:156:21

      Attachments

        Issue Links

          Activity

            People

              sarangan12 Sarangan Rajamanickam
              sarangan12 Sarangan Rajamanickam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: