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

test: fix `http-upgrade-client` flakiness

It's not guaranteed that the socket data is received in the same chunk
as the upgrade response. Listen for the `data` event to make sure all
the data is received.

PR-URL: https://github.com/nodejs/node/pull/4602


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 6018fa1f
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