UVTEST += simple/test-http-wget
UVTEST += simple/test-mkdir-rmdir
UVTEST += simple/test-net-binary
+UVTEST += simple/test-net-pingpong
UVTEST += simple/test-net-can-reset-timeout
UVTEST += simple/test-net-connect-buffer
UVTEST += simple/test-net-connect-timeout
}
/* 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('/tmp/pingpong.sock');
-}
+pingPongTest(common.PIPE);
pingPongTest(20988);
pingPongTest(20989, 'localhost');
pingPongTest(20997, '::1');
process.addListener('exit', function () {
- if (!process.useUV) {
- assert.equal(4, tests_run);
- } else {
- assert.equal(3, tests_run);
- }
+ assert.equal(4, tests_run);
console.log('done');
});