summaryrefslogtreecommitdiff
path: root/test/parallel/test-listen-fd-cluster.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-listen-fd-cluster.js')
-rw-r--r--test/parallel/test-listen-fd-cluster.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/parallel/test-listen-fd-cluster.js b/test/parallel/test-listen-fd-cluster.js
index 688083f2a8..4f74a5b22d 100644
--- a/test/parallel/test-listen-fd-cluster.js
+++ b/test/parallel/test-listen-fd-cluster.js
@@ -21,6 +21,9 @@
'use strict';
const common = require('../common');
+if (common.isWindows)
+ common.skip('This test is disabled on windows.');
+
const assert = require('assert');
const http = require('http');
const net = require('net');
@@ -28,11 +31,6 @@ const cluster = require('cluster');
console.error('Cluster listen fd test', process.argv[2] || 'runner');
-if (common.isWindows) {
- common.skip('This test is disabled on windows.');
- return;
-}
-
// Process relationship is:
//
// parent: the test main script