test: fix flaky http-server-keep-alive-timeout
Make sure the connection is not closed until the 3 requests and the `timeout` event are received. Some code refactoring to avoid duplicated code. Fixes: https://github.com/nodejs/node/issues/20013 PR-URL: https://github.com/nodejs/node/pull/20093 Reviewed-By:Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Trivikram Kamat <trivikr.dev@gmail.com>
parent
22819aa9
Please register or sign in to comment