mirror of https://github.com/lukechilds/node.git
Browse Source
The setTimeout() call is unneeded. If the socket never times out, then the test will never finish. Because timers can be unreliable on machines under load, using setTimeout() here effectively creates a race condition. PR-URL: https://github.com/nodejs/node/pull/10172 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>v7.x
committed by
Jeremiah Senkpiel
1 changed files with 14 additions and 15 deletions
Loading…
Reference in new issue