[ 
https://issues.apache.org/jira/browse/CB-8641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038806#comment-15038806
 ] 

ASF GitHub Bot commented on CB-8641:
------------------------------------

Github user dblotsky commented on a diff in the pull request:

    
https://github.com/apache/cordova-plugin-file-transfer/pull/118#discussion_r46627985
  
    --- Diff: tests/tests.js ---
    @@ -31,9 +31,11 @@ exports.defineAutoTests = function () {
         var ONE_SECOND = 1000; // in milliseconds
         var GRACE_TIME_DELTA = 600; // in milliseconds
         var DEFAULT_FILESYSTEM_SIZE = 1024 * 50; // filesystem size in bytes
    +    var WINDOWS_GRACE_TIME_DELTA = 5 * ONE_SECOND; // Some Windows devices 
need a few seconds to create an upload/download operation.
         var UNKNOWN_HOST = "http://foobar.apache.org";;
         var HEADERS_ECHO = "http://whatheaders.com";; // NOTE: this site is 
very useful!
         var DOWNLOAD_TIMEOUT = 7 * ONE_SECOND;
    +    var WINDOWS_UNKNOWN_HOST_TIMEOUT = 30 * ONE_SECOND;
    --- End diff --
    
    What's this for?


> (Windows Phone 8.1) Some file-transfer plugin tests occasionally fail in 
> mobilespec
> -----------------------------------------------------------------------------------
>
>                 Key: CB-8641
>                 URL: https://issues.apache.org/jira/browse/CB-8641
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>            Reporter: Alexander Sorokin
>            Priority: Minor
>             Fix For: Master
>
>
> Some file-transfer plugin tests occasionally fail in mobilespec:
> File-transfer.spec.10 download should be stopped by abort() right away
> File-transfer.spec.21 upload should be stopped by abort() right away
> The issue seems to be caused by insufficient timeout and could be fixed by 
> increasing it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to