From eff869feccb7396715fd2d0b47b6a1cbb5b2d1c2 Mon Sep 17 00:00:00 2001 From: jn99 Date: Fri, 12 Oct 2018 10:36:32 -0700 Subject: test: skip failing tests for osx mojave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/issues/21679 PR-URL: https://github.com/nodejs/node/pull/23550 Reviewed-By: Ruben Bridgewater Reviewed-By: George Adams Reviewed-By: Gus Caplan Reviewed-By: James M Snell Reviewed-By: Santiago Gimeno Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Michael Dawson Reviewed-By: Сковорода Никита Андреевич --- test/common/index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/common/index.js') diff --git a/test/common/index.js b/test/common/index.js index 53977beef5..768570437a 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -56,6 +56,8 @@ const isOpenBSD = process.platform === 'openbsd'; const isLinux = process.platform === 'linux'; const isOSX = process.platform === 'darwin'; +const isOSXMojave = isOSX && (os.release().startsWith('18')); + const enoughTestMem = os.totalmem() > 0x70000000; /* 1.75 Gb */ const cpus = os.cpus(); const enoughTestCpu = Array.isArray(cpus) && @@ -712,6 +714,7 @@ module.exports = { isMainThread, isOpenBSD, isOSX, + isOSXMojave, isSunOS, isWindows, localIPv6Hosts, -- cgit v1.2.3