You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2018/06/07 08:57:15 UTC

[cordova-fetch] branch master updated: Increase test timeouts to reduce spurious failures (#19)

This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-fetch.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ae56cf  Increase test timeouts to reduce spurious failures (#19)
2ae56cf is described below

commit 2ae56cf42aced2299b21469d6606d3f8406a0645
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Thu Jun 7 10:57:13 2018 +0200

    Increase test timeouts to reduce spurious failures (#19)
    
    I just doubled timeouts until it worked on my local machine. The real problem is that we are cloning 50MB worth of git repos over the network in some tests.
---
 spec/fetch.spec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/spec/fetch.spec.js b/spec/fetch.spec.js
index 62ef949..e30d54e 100644
--- a/spec/fetch.spec.js
+++ b/spec/fetch.spec.js
@@ -74,7 +74,7 @@ describe('platform fetch/uninstall tests via npm & git', function () {
                 expect(fs.existsSync(result)).toBe(true);
                 expect(pkgJSON.name).toBe('cordova-browser');
             });
-    }, 60000);
+    }, 120000);
 });
 
 describe('platform fetch/uninstall test via npm & git tags with --save', function () {
@@ -258,7 +258,7 @@ describe('test trimID method for npm and git', function () {
                 expect(fs.existsSync(result)).toBe(true);
                 expect(result).toMatch('cordova-plugin-ms-adal');
             });
-    }, 30000);
+    }, 120000);
 
     it('should fetch same plugin twice in a row if using a relative path', function () {
         return fetch('file:support/dummy-local-plugin', tmpDir, opts)
@@ -273,7 +273,7 @@ describe('test trimID method for npm and git', function () {
                 expect(fs.existsSync(result)).toBe(true);
                 expect(result).toMatch('test-plugin');
             });
-    }, 30000);
+    }, 60000);
 
     it('should fetch from git+http successfully', function () {
         return fetch('git+http://gitbox.apache.org/repos/asf/cordova-plugin-dialogs.git', tmpDir, opts)

-- 
To stop receiving notification emails like this one, please contact
raphinesse@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org