increased timeout on fetch tests

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

Branch: refs/heads/common-2.0.x
Commit: 07001dc4e0acf89358c50791589428615198286b
Parents: c940ab8
Author: Steve Gill <[email protected]>
Authored: Fri Mar 10 13:35:16 2017 -0800
Committer: Steve Gill <[email protected]>
Committed: Fri Mar 10 13:35:16 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/07001dc4/cordova-fetch/spec/fetch.spec.js
----------------------------------------------------------------------
diff --git a/cordova-fetch/spec/fetch.spec.js b/cordova-fetch/spec/fetch.spec.js
index 01d019f..6f41c9c 100644
--- a/cordova-fetch/spec/fetch.spec.js
+++ b/cordova-fetch/spec/fetch.spec.js
@@ -92,7 +92,6 @@ 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('[email protected]', 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);
@@ -105,7 +104,6 @@ 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);
@@ -113,7 +111,6 @@ 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);
@@ -126,7 +123,6 @@ 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);
@@ -134,7 +130,6 @@ 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);
@@ -147,12 +142,11 @@ 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);
-    }, 80000);
+    }, 100000);
 });
 
 describe('plugin fetch/uninstall test with --save', function () {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to