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

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

Github user vladimir-kotikov commented on a diff in the pull request:

    
https://github.com/apache/cordova-plugin-file-transfer/pull/69#discussion_r26140093
  
    --- Diff: tests/tests.js ---
    @@ -28,10 +28,11 @@
     exports.defineAutoTests = function () {
     
         // constants
    -    var GRACE_TIME_DELTA = 300; // in milliseconds
    +    var GRACE_TIME_DELTA = 500; // in milliseconds
         var DEFAULT_FILESYSTEM_SIZE = 1024*50; //filesystem size in bytes
         var UNKNOWN_HOST = "http://foobar.apache.org";;
         var HEADERS_ECHO = "http://whatheaders.com";; // NOTE: this site is 
very useful!
    +    var abortTimeout = 100; // for abort() tests
    --- End diff --
    
    Consider using an UPPER_CASE name here.


> (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
>
> 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