test: harden test-child-process-fork-regr-gh-2847
authorMichael Dawson <michael_dawson@ca.ibm.com>
Tue, 20 Oct 2015 22:35:34 +0000 (18:35 -0400)
committerJames M Snell <jasnell@gmail.com>
Thu, 29 Oct 2015 15:38:42 +0000 (08:38 -0700)
commitc1623039ddb16e0440077fc4d52b7aee37b8964f
treef33f26c3b22544979d5ce0736c12defa06eba10b
parent3bb4437abb49cae570ac42b39780182bd73719a9
test: harden test-child-process-fork-regr-gh-2847

test-child-process-fork-regr-gh-2847 could fail depending
on timing and how messages were packed into tcp packets.
If all of the requests fit into one packet then the test
worked otherwise, otherwise errors could occur.  This PR
modifies the test to be tolerant while still validating that
some of the connection can be made succesfully

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/3459
test/parallel/test-child-process-fork-regr-gh-2847.js