Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/fixtures/child-process-persistent.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
setInterval(function() {}, 500);
setInterval(function() {}, 9999);
4 changes: 2 additions & 2 deletions test/parallel/test-child-process-send-returns-boolean.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const subScript = fixtures.path('child-process-persistent.js');
// Test `send` return value on `fork` that opens and IPC by default.
const n = fork(subScript);
// `subprocess.send` should always return `true` for the first send.
const rv = n.send({ h: 'w' }, (err) => { if (err) assert.fail(err); });
const rv = n.send({ h: 'w' }, assert.ifError);
assert.strictEqual(rv, true);
n.kill();
n.kill('SIGKILL');
}

{
Expand Down