test: disable 0-dgram tests on darwin

fix #8023
This commit is contained in:
Fedor Indutny 2014-08-02 15:06:25 +04:00
parent 37c2a52833
commit 47a103a029
2 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,10 @@ var callbacks = 0;
var client;
var timer;
if (process.platform === 'darwin') {
console.error('Test is disabled due to 17894467 Apple bug');
return;
}
client = dgram.createSocket('udp4');

View File

@ -28,6 +28,11 @@ var dgram = require('dgram');
var callbacks = 0;
var client, timer, buf;
if (process.platform === 'darwin') {
console.error('Test is disabled due to 17894467 Apple bug');
return;
}
client = dgram.createSocket('udp4');