cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [49/50] [abbrv] cordova-lib git commit: increased timeout on cordova-fetch test
Date Thu, 09 Mar 2017 20:39:52 GMT
increased timeout on cordova-fetch test


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/acb41fa3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/acb41fa3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/acb41fa3

Branch: refs/heads/common-2.0.x
Commit: acb41fa3a686089ea66c6d09e7c6af223cacbea9
Parents: c744faf
Author: Steve Gill <stevengill97@gmail.com>
Authored: Thu Mar 9 10:58:39 2017 -0800
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Thu Mar 9 10:58:39 2017 -0800

----------------------------------------------------------------------
 cordova-fetch/spec/fetch.spec.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/acb41fa3/cordova-fetch/spec/fetch.spec.js
----------------------------------------------------------------------
diff --git a/cordova-fetch/spec/fetch.spec.js b/cordova-fetch/spec/fetch.spec.js
index 2a2d2c0..01d019f 100644
--- a/cordova-fetch/spec/fetch.spec.js
+++ b/cordova-fetch/spec/fetch.spec.js
@@ -92,6 +92,7 @@ describe('platform fetch/uninstall test via npm & git tags with --save',
functio
     it('should fetch and uninstall a cordova platform via npm & git tags/branches', function(done)
{
         fetch('cordova-android@5.1.1', tmpDir, opts)
         .then(function(result) {
+            console.log(1);
             var pkgJSON = require(path.join(result,'package.json'));
             expect(result).toBeDefined();
             expect(fs.existsSync(result)).toBe(true);
@@ -104,6 +105,7 @@ describe('platform fetch/uninstall test via npm & git tags with --save',
functio
             return uninstall('cordova-android', tmpDir, opts);
         })
         .then(function() {
+            console.log(2);
             var rootPJ = JSON.parse(fs.readFileSync(path.join(tmpDir,'package.json'), 'utf8'));
             expect(Object.keys(rootPJ.dependencies).length).toBe(0);
             expect(fs.existsSync(path.join(tmpDir,'node_modules', 'cordova-android'))).toBe(false);
@@ -111,6 +113,7 @@ describe('platform fetch/uninstall test via npm & git tags with --save',
functio
             return fetch('https://github.com/apache/cordova-ios.git#rel/4.1.1', tmpDir, opts);
      
         })
         .then(function(result) {
+            console.log(3);
             var pkgJSON = require(path.join(result,'package.json'));
             expect(result).toBeDefined();
             expect(fs.existsSync(result)).toBe(true);
@@ -123,6 +126,7 @@ describe('platform fetch/uninstall test via npm & git tags with --save',
functio
             return uninstall('cordova-ios', tmpDir, opts);
         })
         .then(function() {
+            console.log(4);
             var rootPJ = JSON.parse(fs.readFileSync(path.join(tmpDir,'package.json'), 'utf8'));
             expect(Object.keys(rootPJ.dependencies).length).toBe(0);
             expect(fs.existsSync(path.join(tmpDir,'node_modules', 'cordova-ios'))).toBe(false);
@@ -130,6 +134,7 @@ describe('platform fetch/uninstall test via npm & git tags with --save',
functio
             return fetch('https://github.com/apache/cordova-android.git#4.1.x', tmpDir, opts);
         })
         .then(function(result) {
+            console.log(5);
             var pkgJSON = JSON.parse(fs.readFileSync(path.join(result,'package.json'), 'utf8'));
             expect(result).toBeDefined();
             expect(fs.existsSync(result)).toBe(true);
@@ -142,11 +147,12 @@ describe('platform fetch/uninstall test via npm & git tags with
--save', functio
             return uninstall('cordova-android', tmpDir, opts);
         })
         .fail(function(err) {
+            console.log(10);
             console.error(err);
             expect(err).toBeUndefined();
         })
         .fin(done);
-    }, 70000);
+    }, 80000);
 });
 
 describe('plugin fetch/uninstall test with --save', function () {


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


Mime
View raw message