avoid intermittent test time-out failures (#2100)
authorAlex Lam S.L <alexlamsl@gmail.com>
Wed, 14 Jun 2017 20:47:57 +0000 (04:47 +0800)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 20:47:57 +0000 (04:47 +0800)
test/mocha/cli.js
test/mocha/release.js
test/mocha/spidermonkey.js

index fa6f146..b54044e 100644 (file)
@@ -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';
 
index 1bf6e87..063d0fc 100644 (file)
@@ -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",
index 9bddb53..ccd11c4 100644 (file)
@@ -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 | " +