summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-01-02 21:44:28 -0500
committerMyles Borins <mylesborins@google.com>2018-02-12 19:28:34 -0500
commit4473c6c807e7d179c57b74d6578b6ce0de1088f7 (patch)
treec297c9efb7b6f6b43681df66df265e984289c58a
parent001b67296e7df2f9ca596f1267f5dc6e811d23d4 (diff)
downloadnode-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.js4
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));
});
}