test: add common.mustSucceed

PR-URL: https://github.com/nodejs/node/pull/35086
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Tobias Nießen authored and Beth Griggs committed 2020-12-08 13:42:23 +00:00
1 parent 6c4e697f56
commit 70cb70812d
140 files changed
+522 -782

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ server.on('connection', (connection) => {
});
function shutdown() {
server.close(common.mustCall());
server.close(common.mustSucceed());
for (const key in connections) {
connections[key].destroy();