Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7a53783

Browse filesBrowse files
d1b1evanlucas
authored andcommitted
test: improve template value for test message
Include value that cause failure in error message in test-cluster-master-kill.js. PR-URL: #16826 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 6ea8768 commit 7a53783
Copy full SHA for 7a53783

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-cluster-master-kill.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-cluster-master-kill.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ if (cluster.isWorker) {
8181
process.once('exit', () => {
8282
assert.strictEqual(typeof pid, 'number',
8383
`got ${pid} instead of a worker pid`);
84-
assert.strictEqual(alive, false, 'worker was alive after master died');
84+
assert.strictEqual(alive, false,
85+
`worker was alive after master died (alive = ${alive})`);
8586
});
8687

8788
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.