mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: move slower tests into pummel and skip on slow devices
Move slower tests to pummel and skip on Raspberry Pi devices in CI. Refs: https://github.com/nodejs/node/pull/34289#issuecomment-823655915 PR-URL: https://github.com/nodejs/node/pull/38395 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
@@ -5,10 +5,18 @@ const child_process = require('child_process');
|
||||
const fs = require('fs');
|
||||
const stream = require('stream');
|
||||
|
||||
if (!common.isLinux)
|
||||
if (!common.isLinux) {
|
||||
common.skip('The fs watch limit is OS-dependent');
|
||||
if (!common.enoughTestCpu)
|
||||
}
|
||||
|
||||
if (!common.enoughTestCpu) {
|
||||
common.skip('This test is resource-intensive');
|
||||
}
|
||||
|
||||
if ((process.config.variables.arm_version === '6') ||
|
||||
(process.config.variables.arm_version === '7')) {
|
||||
common.skip('Too slow for armv6 and armv7 bots');
|
||||
}
|
||||
|
||||
try {
|
||||
// Ensure inotify limit is low enough for the test to actually exercise the
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
require('../common');
|
||||
const common = require('../common');
|
||||
|
||||
if ((process.config.variables.arm_version === '6') ||
|
||||
(process.config.variables.arm_version === '7')) {
|
||||
common.skip('Too slow for armv6 and armv7 bots');
|
||||
}
|
||||
|
||||
const tmpdir = require('../common/tmpdir');
|
||||
const assert = require('assert');
|
||||
const { spawnSync } = require('child_process');
|
||||
@@ -1,6 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
|
||||
if ((process.config.variables.arm_version === '6') ||
|
||||
(process.config.variables.arm_version === '7')) {
|
||||
common.skip('Too slow for armv6 and armv7 bots');
|
||||
}
|
||||
|
||||
const tmpdir = require('../common/tmpdir');
|
||||
const assert = require('assert');
|
||||
const { spawnSync } = require('child_process');
|
||||
@@ -2,8 +2,15 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
if (process.config.variables.asan)
|
||||
|
||||
if (process.config.variables.asan) {
|
||||
common.skip('ASAN messes with memory measurements');
|
||||
}
|
||||
|
||||
if ((process.config.variables.arm_version === '6') ||
|
||||
(process.config.variables.arm_version === '7')) {
|
||||
common.skip('Too slow for armv6 and armv7 bots');
|
||||
}
|
||||
|
||||
const assert = require('assert');
|
||||
const net = require('net');
|
||||
@@ -2,8 +2,14 @@
|
||||
|
||||
const common = require('../common');
|
||||
|
||||
if (!common.hasCrypto)
|
||||
if (!common.hasCrypto) {
|
||||
common.skip('missing crypto');
|
||||
}
|
||||
|
||||
if ((process.config.variables.arm_version === '6') ||
|
||||
(process.config.variables.arm_version === '7')) {
|
||||
common.skip('Too slow for armv6 and armv7 bots');
|
||||
}
|
||||
|
||||
const assert = require('assert');
|
||||
const { subtle } = require('crypto').webcrypto;
|
||||
Reference in New Issue
Block a user