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 GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/21 23:17:25 UTC
[jira] [Commented] (CB-10409) Several tests related to
cordova-file-transfer plugins are failing on Windows
[ https://issues.apache.org/jira/browse/CB-10409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205276#comment-15205276 ]
ASF GitHub Bot commented on CB-10409:
-------------------------------------
GitHub user sarangan12 opened a pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/132
CB-10409: Flaky File Transfer Plugins
This is one of the flaky tests that occurs about 20% of the times in windows store 8.1 platform. But, this has not been reproduced locally. This causes the app to crash. The error message is " Error: Expected a spy, but got Function." Based on the error message, I suspect that the error is related to the issue that the spying is not set correctly on the transfer progress. So, I have modified this code and submitting this for PR.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sarangan12/cordova-plugin-file-transfer CB-10409
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file-transfer/pull/132.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #132
----
commit 53c5ce276adb830d011843583a97cc20cdb3fa0d
Author: Sarangan Rajamanickam <sa...@microsoft.com>
Date: 2016-03-21T22:13:38Z
CB-10409: Flaky File Transfer Plugins
----
> Several tests related to cordova-file-transfer plugins are failing on Windows
> -----------------------------------------------------------------------------
>
> Key: CB-10409
> URL: https://issues.apache.org/jira/browse/CB-10409
> Project: Apache Cordova
> Issue Type: Test
> Components: Plugin File Transfer
> Reporter: Sarangan Rajamanickam
> Assignee: Sergey Shakhnazarov
> Labels: found-by-ci, triaged, windows
>
> Link: https://ci.apache.org/builders/cordova-windows-store8.0/builds/1389/steps/getting-test-results/logs/stdio
> Failing tests:
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.4 should download a file
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.5 should download a file using http basic auth
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.6 should get 401 status on http basic auth failure
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.8 should download a file using https://
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.11 should call the error callback on abort()
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.9 should not leave partial file due to abort
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.10 should be stopped by abort() right away
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.12 should get http status on failure
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.13 should get http body on failure
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.15 should handle unknown host
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.17 progress should work with gzip encoding
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.30 downloaded file entries should have a toNativeURL method
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.31 should properly handle 304
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.18 should be able to upload a file
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.19 should be able to upload a file with http basic auth
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.21 should be stopped by abort() right away
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.22 should get http status and body on failure
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.25 should handle unknown host
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.27 should be able to set custom headers
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.31 should be able to upload a file using PUT method
> Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
--
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