test: improve test-net-pingpong
authorBrendan Ashworth <brendan.ashworth@me.com>
Tue, 18 Aug 2015 18:11:28 +0000 (11:11 -0700)
committerBrendan Ashworth <brendan.ashworth@me.com>
Thu, 20 Aug 2015 07:48:37 +0000 (00:48 -0700)
commit04722d14cae0a9f2f593374f9a8833c6d49f8a21
treefc0ad653ee424ef010935f8d3b60889ad588af95
parent8f58fb92fff904a6ca58fd0df9ee5a1816e5b84e
test: improve test-net-pingpong

This includes the following changes:
- a more strict data check rather than a regex
- reduced number of annoying log calls

The most important of the changes is the annoying log calls, which
speeds up the test execution from about 0m1.130s to 0m0.481s on my
machine.

PR-URL: https://github.com/nodejs/node/pull/2429
Reviewed-By: Rich Trott <rtrott@gmail.com>
test/parallel/test-net-pingpong.js