From 43697958f368b41aee3cd704473ad6c1ea53ae8c Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Thu, 15 Jun 2017 04:47:57 +0800 Subject: [PATCH] avoid intermittent test time-out failures (#2100) --- test/mocha/cli.js | 2 +- test/mocha/release.js | 2 +- test/mocha/spidermonkey.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mocha/cli.js b/test/mocha/cli.js index fa6f1464..b54044eb 100644 --- a/test/mocha/cli.js +++ b/test/mocha/cli.js @@ -9,7 +9,7 @@ function read(path) { describe("bin/uglifyjs", function () { var uglifyjscmd = '"' + process.argv[0] + '" bin/uglifyjs'; it("should produce a functional build when using --self", function (done) { - this.timeout(15000); + this.timeout(30000); var command = uglifyjscmd + ' --self -cm --wrap WrappedUglifyJS'; diff --git a/test/mocha/release.js b/test/mocha/release.js index 1bf6e87b..063d0fc7 100644 --- a/test/mocha/release.js +++ b/test/mocha/release.js @@ -14,7 +14,7 @@ function run(command, args, done) { } describe("test/benchmark.js", function() { - this.timeout(5 * 60 * 1000); + this.timeout(10 * 60 * 1000); [ "-b", "-b bracketize", diff --git a/test/mocha/spidermonkey.js b/test/mocha/spidermonkey.js index 9bddb537..ccd11c43 100644 --- a/test/mocha/spidermonkey.js +++ b/test/mocha/spidermonkey.js @@ -4,7 +4,7 @@ var uglify = require("../node"); describe("spidermonkey export/import sanity test", function() { it("should produce a functional build when using --self with spidermonkey", function(done) { - this.timeout(30000); + this.timeout(60000); var uglifyjs = '"' + process.argv[0] + '" bin/uglifyjs'; var command = uglifyjs + " --self -cm --wrap SpiderUglify -o spidermonkey | " + -- 2.34.1