From b396c4db6679d4cb5a0c4860697b75d779d3b7a7 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 fb0622d31492a1..34a7e37dff0241 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)); }); }