From ff85235a590c8d52c0d3f5478284df495ad72da2 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Thu, 14 Apr 2022 18:31:09 +0530 Subject: [PATCH] test: skip if memory is too low Signed-off-by: Darshan Sen --- test/pummel/test-repl-empty-maybelocal-crash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pummel/test-repl-empty-maybelocal-crash.js b/test/pummel/test-repl-empty-maybelocal-crash.js index c2428508befe7b..f1fde2dbcb6c34 100644 --- a/test/pummel/test-repl-empty-maybelocal-crash.js +++ b/test/pummel/test-repl-empty-maybelocal-crash.js @@ -1,8 +1,8 @@ 'use strict'; const common = require('../common'); -if (common.isPi) { - common.skip('Too slow for Raspberry Pi devices'); +if (common.enoughTestMem) { + common.skip('memory-intensive test'); } // The process should not crash when the REPL receives the string, 'ss'.