diff options
Diffstat (limited to 'test/parallel/test-dgram-send-default-host.js')
-rw-r--r-- | test/parallel/test-dgram-send-default-host.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/parallel/test-dgram-send-default-host.js b/test/parallel/test-dgram-send-default-host.js index 0c50e70f43..0d49322513 100644 --- a/test/parallel/test-dgram-send-default-host.js +++ b/test/parallel/test-dgram-send-default-host.js @@ -4,19 +4,8 @@ const common = require('../common'); const assert = require('assert'); const dgram = require('dgram'); -if (common.isWindows) { - // on Windows this test will fail - // see https://github.com/nodejs/node/pull/5407 - console.log('1..0 # Skipped: This test does not apply on Windows.'); - return; -} - const client = dgram.createSocket('udp4'); -const timer = setTimeout(function() { - throw new Error('Timeout'); -}, common.platformTimeout(2000)); - const toSend = [new Buffer(256), new Buffer(256), new Buffer(256), 'hello']; toSend[0].fill('x'); @@ -36,7 +25,6 @@ client.on('message', function(buf, info) { if (toSend.length === 0) { client.close(); - clearTimeout(timer); } }); |