Github user daserge commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/118#discussion_r46653820
--- 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 --
The filetransfer.spec.15 takes 20-30 seconds to finish so 7 seconds is just
not enough.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]