From d964b4c5aafd431cfb63529a462871c446522f7a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 5 Jul 2011 10:08:35 -0700 Subject: [PATCH] net_uv: enable another test case in test-net-pingpong --- test/simple/test-net-pingpong.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/simple/test-net-pingpong.js b/test/simple/test-net-pingpong.js index 035e4f3892f..6db4861d8e4 100644 --- a/test/simple/test-net-pingpong.js +++ b/test/simple/test-net-pingpong.js @@ -131,17 +131,17 @@ function pingPongTest(port, host) { /* All are run at once, so run on different ports */ if (!process.useUV) { // these tests will not run yet with net_uv TODO: remove when net_uv supports dns - pingPongTest(20989, 'localhost'); pingPongTest(20997, '::1'); pingPongTest('/tmp/pingpong.sock'); } pingPongTest(20988); +pingPongTest(20989, 'localhost'); process.addListener('exit', function () { if (!process.useUV) { assert.equal(4, tests_run); } else { - assert.equal(1, tests_run); + assert.equal(2, tests_run); } console.log('done'); });