net_uv: enable another test case in test-net-pingpong

pull/22966/head
Ryan Dahl 2011-07-05 10:08:35 -07:00
parent f1b7c42524
commit d964b4c5aa
1 changed files with 2 additions and 2 deletions

View 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');
});