From a2b3cef543d996e4bc7a33f6314e840572bb857c Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Wed, 9 Mar 2016 10:28:08 +0000 Subject: [PATCH] test: skip cluster-disconnect-race on Windows --- test/simple/test-cluster-disconnect-race.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/simple/test-cluster-disconnect-race.js b/test/simple/test-cluster-disconnect-race.js index fdf53b967c92bc..e55edac00dd533 100644 --- a/test/simple/test-cluster-disconnect-race.js +++ b/test/simple/test-cluster-disconnect-race.js @@ -9,6 +9,11 @@ var net = require('net'); var cluster = require('cluster'); cluster.schedulingPolicy = cluster.SCHED_NONE; +if (process.platform === 'win32') { + console.log('1..0 # Skipped: This test does not apply to Windows.'); + return; +} + if (cluster.isMaster) { var worker1, worker2;