diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-06-15 04:47:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 04:47:57 +0800 |
commit | 43697958f368b41aee3cd704473ad6c1ea53ae8c (patch) | |
tree | c71c68195c2e439b61a525e568da6f96922b821f /test/mocha | |
parent | 3f961bbba04a8cec0ab74f4a13deb4be217da877 (diff) | |
download | tracifyjs-43697958f368b41aee3cd704473ad6c1ea53ae8c.tar.gz tracifyjs-43697958f368b41aee3cd704473ad6c1ea53ae8c.zip |
avoid intermittent test time-out failures (#2100)
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/cli.js | 2 | ||||
-rw-r--r-- | test/mocha/release.js | 2 | ||||
-rw-r--r-- | 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 | " + |