aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/benchmark.js3
-rw-r--r--test/travis-ufuzz.js4
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"
}
}