diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2018-01-02 21:44:28 -0500 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-02-12 19:28:34 -0500 |
commit | 4473c6c807e7d179c57b74d6578b6ce0de1088f7 (patch) | |
tree | c297c9efb7b6f6b43681df66df265e984289c58a | |
parent | 001b67296e7df2f9ca596f1267f5dc6e811d23d4 (diff) | |
download | node-new-4473c6c807e7d179c57b74d6578b6ce0de1088f7.tar.gz |
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>
-rw-r--r-- | test/parallel/test-http-pipeline-flood.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-pipeline-flood.js b/test/parallel/test-http-pipeline-flood.js index d8ef024154..94a67d827e 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)); }); } |