Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit ab8f338

Browse files
author
scottbommarito
committed
reset timeouts
1 parent a37c0b9 commit ab8f338

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code-push-plugin-testing-framework/script/testBuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function itInternal(func, expectation, isCoreTest, assertion) {
6464
if ((!TestConfig.onlyRunCoreTests || isCoreTest)) {
6565
// Create a wrapper around the assertion to set the timeout on the test to 10 minutes.
6666
var assertionWithTimeout = function (done) {
67-
this.timeout(20 * 60 * 1000);
67+
this.timeout(10 * 60 * 1000);
6868
assertion(done);
6969
};
7070
return it(expectation, assertionWithTimeout);

code-push-plugin-testing-framework/script/testUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var TestUtil = (function () {
4848
if (options.maxBuffer === undefined)
4949
options.maxBuffer = 1024 * 500;
5050
if (options.timeout === undefined)
51-
options.timeout = 20 * 60 * 1000;
51+
options.timeout = 10 * 60 * 1000;
5252
if (!options.noLogCommand)
5353
console.log("Running command: " + command);
5454
var execProcess = child_process.exec(command, options, function (error, stdout, stderr) {

0 commit comments

Comments
 (0)