Skip to content

Commit

Permalink
minor tweaks to CI test scripts (#3467)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl committed Oct 11, 2019
1 parent eba3a37 commit 516b67a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions test/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ urls.forEach(function(url) {
});
});
});
setInterval(function() {
process.stderr.write("\0");
}, 5 * 60 * 1000).unref();
4 changes: 2 additions & 2 deletions test/travis-ufuzz.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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"
}
}
Expand Down

0 comments on commit 516b67a

Please sign in to comment.