Commit 392ed93b authored by Santiago Gimeno's avatar Santiago Gimeno Committed by James M Snell
Browse files

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: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
parent 22819aa9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment