diff options
author | Rich Trott <rtrott@gmail.com> | 2021-04-24 21:34:48 -0700 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-04-29 13:45:37 +0200 |
commit | 231ef4b0ce805a862cb9d932e227c3c9fcbdd42e (patch) | |
tree | 45217e25693cc37d6a849836441baf56f2b3c8f3 /test/pummel/test-fs-watch-system-limit.js | |
parent | 45322dfa12b90f6fa787b0df81bf664d9f24df02 (diff) | |
download | node-new-231ef4b0ce805a862cb9d932e227c3c9fcbdd42e.tar.gz |
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>
Diffstat (limited to 'test/pummel/test-fs-watch-system-limit.js')
-rw-r--r-- | test/pummel/test-fs-watch-system-limit.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/pummel/test-fs-watch-system-limit.js b/test/pummel/test-fs-watch-system-limit.js index ce390dd3d0..6662986a1a 100644 --- a/test/pummel/test-fs-watch-system-limit.js +++ b/test/pummel/test-fs-watch-system-limit.js @@ -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 |