aboutsummaryrefslogtreecommitdiff
path: root/test/parallel
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-08-14 09:38:51 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-08-14 17:54:40 +0300
commit682f9b4709f0d7e634568209ce3adfe18e345774 (patch)
treec1cd2f7d367de7ec7b5bae7369d0516dfb00daf5 /test/parallel
parent4ce744a24b52659dc3b365a32fddcc1b92fd67c0 (diff)
downloadandroid-node-v8-682f9b4709f0d7e634568209ce3adfe18e345774.tar.gz
android-node-v8-682f9b4709f0d7e634568209ce3adfe18e345774.tar.bz2
android-node-v8-682f9b4709f0d7e634568209ce3adfe18e345774.zip
test: rename some allegories
PR-URL: https://github.com/nodejs/node/pull/22307 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'test/parallel')
-rw-r--r--test/parallel/test-child-process-fork-net.js2
-rw-r--r--test/parallel/test-listen-fd-detached-inherit.js4
-rw-r--r--test/parallel/test-listen-fd-detached.js4
-rw-r--r--test/parallel/test-listen-fd-server.js2
4 files changed, 6 insertions, 6 deletions
diff --git a/test/parallel/test-child-process-fork-net.js b/test/parallel/test-child-process-fork-net.js
index babde351d3..48521a7fda 100644
--- a/test/parallel/test-child-process-fork-net.js
+++ b/test/parallel/test-child-process-fork-net.js
@@ -122,7 +122,7 @@ if (process.argv[2] === 'child') {
while (j--) {
const client = net.connect(this.address().port, '127.0.0.1');
client.on('error', function() {
- // This can happen if we kill the child too early.
+ // This can happen if we kill the subprocess too early.
// The client should still get a close event afterwards.
console.error('[m] CLIENT: error event');
});
diff --git a/test/parallel/test-listen-fd-detached-inherit.js b/test/parallel/test-listen-fd-detached-inherit.js
index aad8d663c9..b4fce58c93 100644
--- a/test/parallel/test-listen-fd-detached-inherit.js
+++ b/test/parallel/test-listen-fd-detached-inherit.js
@@ -53,7 +53,7 @@ function test() {
function next() {
console.error('output from parent = %s', json);
const child = JSON.parse(json);
- // now make sure that we can request to the child, then kill it.
+ // now make sure that we can request to the subprocess, then kill it.
http.get({
server: 'localhost',
port: child.port,
@@ -64,7 +64,7 @@ function test() {
s += c.toString();
});
res.on('end', function() {
- // kill the child before we start doing asserts.
+ // kill the subprocess before we start doing asserts.
// it's really annoying when tests leave orphans!
process.kill(child.pid, 'SIGKILL');
try {
diff --git a/test/parallel/test-listen-fd-detached.js b/test/parallel/test-listen-fd-detached.js
index b2b9c74a9a..6fbc938324 100644
--- a/test/parallel/test-listen-fd-detached.js
+++ b/test/parallel/test-listen-fd-detached.js
@@ -53,7 +53,7 @@ function test() {
function next() {
console.error('output from parent = %s', json);
const child = JSON.parse(json);
- // now make sure that we can request to the child, then kill it.
+ // now make sure that we can request to the subprocess, then kill it.
http.get({
server: 'localhost',
port: child.port,
@@ -64,7 +64,7 @@ function test() {
s += c.toString();
});
res.on('end', function() {
- // kill the child before we start doing asserts.
+ // kill the subprocess before we start doing asserts.
// it's really annoying when tests leave orphans!
process.kill(child.pid, 'SIGKILL');
try {
diff --git a/test/parallel/test-listen-fd-server.js b/test/parallel/test-listen-fd-server.js
index b21b5ee55d..7cdba8b405 100644
--- a/test/parallel/test-listen-fd-server.js
+++ b/test/parallel/test-listen-fd-server.js
@@ -44,7 +44,7 @@ process.on('exit', function() {
// concurrency in HTTP servers! Use the cluster module, or if you want
// a more low-level approach, use child process IPC manually.
test(function(child, port) {
- // now make sure that we can request to the child, then kill it.
+ // now make sure that we can request to the subprocess, then kill it.
http.get({
server: 'localhost',
port: port,