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:
Anatoli Papirovski 2018-01-02 21:44:28 -05:00
parent 15016f227b
commit b396c4db66
No known key found for this signature in database
GPG Key ID: 614E2E1ABEB4B2C0

View File

@ -56,9 +56,9 @@ function parent() {
server.close();
}));
server.setTimeout(200, common.mustCall(function() {
server.setTimeout(200, common.mustCallAtLeast(function() {
child.kill();
}));
}, 1));
});
}