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

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_r45928589
  
    --- Diff: tests/tests.js ---
    @@ -468,6 +468,8 @@ exports.defineAutoTests = function () {
                     it("filetransfer.spec.10 should be stopped by abort() 
right away", function (done) {
     
                         var fileURL = 
'http://cordova.apache.org/downloads/BlueZedEx.mp3';
    +                    // Some Windows Phone 8.1 devices need ~1-2 sec to 
create an upload operation.
    +                    var graceTimeout = isWindows ? GRACE_TIME_DELTA * 6 : 
GRACE_TIME_DELTA;
    --- End diff --
    
    This might be best set at the top of the file, along with the other 
constants.


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

Reply via email to