[Pkg-javascript-commits] [uglifyjs] 145/491: avoid intermittent test time-out failures (#2100)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:30 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 43697958f368b41aee3cd704473ad6c1ea53ae8c
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Thu Jun 15 04:47:57 2017 +0800

    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 fa6f146..b54044e 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 1bf6e87..063d0fc 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 9bddb53..ccd11c4 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 | " +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list