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:Brian White <mscdex@mscdex.net> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
6018fa1f
Please register or sign in to comment