net_uv: enable another test case in test-net-pingpong
authorRyan Dahl <ry@tinyclouds.org>
Tue, 5 Jul 2011 17:08:35 +0000 (10:08 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 5 Jul 2011 17:08:35 +0000 (10:08 -0700)
test/simple/test-net-pingpong.js

index 035e4f3..6db4861 100644 (file)
@@ -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');
 });