From 5c408812cc7e922096be0aa4863a24c5b5c7ddfe Mon Sep 17 00:00:00 2001 From: Anatoli Papirovski Date: Tue, 2 Jan 2018 21:44:28 -0500 Subject: [PATCH] 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 --- test/parallel/test-http-pipeline-flood.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http-pipeline-flood.js b/test/parallel/test-http-pipeline-flood.js index d8ef0241542ee6..94a67d827e7041 100644 --- a/test/parallel/test-http-pipeline-flood.js +++ b/test/parallel/test-http-pipeline-flood.js @@ -56,9 +56,9 @@ function parent() { server.close(); })); - server.setTimeout(200, common.mustCall(function() { + server.setTimeout(200, common.mustCallAtLeast(function() { child.kill(); - })); + }, 1)); }); }