test: use dynamic port in test-dgram-bind-shared-ports by orafaelfragoso · Pull Request #12452 · nodejs/node
santigimeno
added
cluster
labels
Apr 16, 2017Use of common.PORT in parallel tests is not completely safe (because the same port can be previously assigned to another test running in parallel if that test uses port 0 to get an arbitrary available port). Remove common.PORT from test-dgram-bind-shared-ports.
Adding a common.mustCall() to socket1 callback on test-dgram-bind-shared-ports to make sure the callback is being called.
Restoring the contents of the test to it's original with common.PORT() Refs: nodejs#12376
lpinca pushed a commit to lpinca/node that referenced this pull request
May 13, 2017PR-URL: nodejs#12452 Ref: nodejs#12376 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Trott
mentioned this pull request
64 tasks
anchnk pushed a commit to anchnk/node that referenced this pull request
May 19, 2017PR-URL: nodejs#12452 Ref: nodejs#12376 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins pushed a commit that referenced this pull request
Jun 22, 2017MylesBorins pushed a commit that referenced this pull request
Jul 11, 2017This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters