test: fix flaky test-http-pipeline-flood
PR-URL: https://github.com/nodejs/node/pull/17955 Refs: https://github.com/nodejs/node/issues/16317 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
15016f227b
commit
b396c4db66
@ -56,9 +56,9 @@ function parent() {
|
|||||||
server.close();
|
server.close();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
server.setTimeout(200, common.mustCall(function() {
|
server.setTimeout(200, common.mustCallAtLeast(function() {
|
||||||
child.kill();
|
child.kill();
|
||||||
}));
|
}, 1));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user