summaryrefslogtreecommitdiff
path: root/lib/_http_agent.js
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-05-21 11:42:32 +0400
committerAnatoli Papirovski <apapirovski@mac.com>2018-05-22 11:42:34 +0400
commitef9d0ae6f209851dd43d7d24b12e19547bcf0dbf (patch)
treeb766d4ad62593e198335863262cbbaa9202ec03f /lib/_http_agent.js
parentb11e19e8eed059ddf473657c28c357987ca0015e (diff)
downloadandroid-node-v8-ef9d0ae6f209851dd43d7d24b12e19547bcf0dbf.tar.gz
android-node-v8-ef9d0ae6f209851dd43d7d24b12e19547bcf0dbf.tar.bz2
android-node-v8-ef9d0ae6f209851dd43d7d24b12e19547bcf0dbf.zip
test: fix flaky http2-session-unref
It's possible for the connections to take too long and since the server is already unrefed, the process will just exit. Instead adjust the test so that server unref only happens after all sessions have been successfuly established and unrefed. That still tests the same condition but will not fail under load. PR-URL: https://github.com/nodejs/node/pull/20772 Fixes: https://github.com/nodejs/node/issues/20705 Fixes: https://github.com/nodejs/node/issues/20750 Fixes: https://github.com/nodejs/node/issues/20850 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/_http_agent.js')
0 files changed, 0 insertions, 0 deletions