Skip to content

test: refactor flaky net-error-twice

Rodrigo Muino Tomonari requested to merge github/fork/Trott/net-error-twice into master

The test was not reliably creating the error event on Windows 2012.

This makes the test more robust by delaying the destruction of the socket until after data starts arriving rather than immediately upon connection.

Fixes: https://github.com/nodejs/node/issues/4057

Merge request reports

Loading