From ab8f33890734d4e2dbfd4fcf8b90274a9dccdf64 Mon Sep 17 00:00:00 2001 From: scottbommarito Date: Thu, 23 Jun 2016 15:46:40 -0700 Subject: [PATCH] reset timeouts --- code-push-plugin-testing-framework/script/testBuilder.js | 2 +- code-push-plugin-testing-framework/script/testUtil.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code-push-plugin-testing-framework/script/testBuilder.js b/code-push-plugin-testing-framework/script/testBuilder.js index c61d7a4..5eb311b 100644 --- a/code-push-plugin-testing-framework/script/testBuilder.js +++ b/code-push-plugin-testing-framework/script/testBuilder.js @@ -64,7 +64,7 @@ function itInternal(func, expectation, isCoreTest, assertion) { if ((!TestConfig.onlyRunCoreTests || isCoreTest)) { // Create a wrapper around the assertion to set the timeout on the test to 10 minutes. var assertionWithTimeout = function (done) { - this.timeout(20 * 60 * 1000); + this.timeout(10 * 60 * 1000); assertion(done); }; return it(expectation, assertionWithTimeout); diff --git a/code-push-plugin-testing-framework/script/testUtil.js b/code-push-plugin-testing-framework/script/testUtil.js index ede3f11..afe255a 100644 --- a/code-push-plugin-testing-framework/script/testUtil.js +++ b/code-push-plugin-testing-framework/script/testUtil.js @@ -48,7 +48,7 @@ var TestUtil = (function () { if (options.maxBuffer === undefined) options.maxBuffer = 1024 * 500; if (options.timeout === undefined) - options.timeout = 20 * 60 * 1000; + options.timeout = 10 * 60 * 1000; if (!options.noLogCommand) console.log("Running command: " + command); var execProcess = child_process.exec(command, options, function (error, stdout, stderr) {