From 516b67a43b205229d95f039a4d3fb604645c67f2 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 12 Oct 2019 05:36:38 +0800 Subject: [PATCH] minor tweaks to CI test scripts (#3467) --- test/benchmark.js | 3 +++ test/travis-ufuzz.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/benchmark.js b/test/benchmark.js index 63009dd8..38aed13d 100644 --- a/test/benchmark.js +++ b/test/benchmark.js @@ -94,3 +94,6 @@ urls.forEach(function(url) { }); }); }); +setInterval(function() { + process.stderr.write("\0"); +}, 5 * 60 * 1000).unref(); diff --git a/test/travis-ufuzz.js b/test/travis-ufuzz.js index 92268420..22dcca93 100644 --- a/test/travis-ufuzz.js +++ b/test/travis-ufuzz.js @@ -15,7 +15,7 @@ if (process.argv[2] == "run") { var branch = process.argv[3] || "v" + require("../package.json").version; var repository = encodeURIComponent(process.argv[4] || "mishoo/UglifyJS2"); var concurrency = process.argv[5] || 1; - var platform = process.argv[6] || "node/latest"; + var platform = process.argv[6] || "latest"; (function request() { setTimeout(request, (period + wait) / concurrency); var options = url.parse("https://api.travis-ci.org/repo/" + repository + "/requests"); @@ -37,7 +37,7 @@ if (process.argv[2] == "run") { branch: branch, config: { cache: false, - env: "NODEJS_VER=" + platform, + env: "NODE=" + platform, script: "node test/travis-ufuzz run" } } -- 2.34.1