From 19064bec341185a8c15fc438cfcf0df8633a179e Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Wed, 13 Apr 2022 19:46:13 +0530 Subject: [PATCH] test: delete test/pummel/test-repl-empty-maybelocal-crash.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was disconnecting the runners from the CI server. Not worth having a resource-intensive test for this kind of an edge cases. Fixes: https://github.com/nodejs/node/issues/42719 Signed-off-by: Darshan Sen PR-URL: https://github.com/nodejs/node/pull/42720 Fixes: https://github.com/nodejs/node/issues/42719 Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Richard Lau Reviewed-By: Beth Griggs Reviewed-By: Stewart X Addison Reviewed-By: Luigi Pinca --- .../test-repl-empty-maybelocal-crash.js | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 test/pummel/test-repl-empty-maybelocal-crash.js diff --git a/test/pummel/test-repl-empty-maybelocal-crash.js b/test/pummel/test-repl-empty-maybelocal-crash.js deleted file mode 100644 index c2428508befe7b..00000000000000 --- a/test/pummel/test-repl-empty-maybelocal-crash.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; -const common = require('../common'); - -if (common.isPi) { - common.skip('Too slow for Raspberry Pi devices'); -} - -// The process should not crash when the REPL receives the string, 'ss'. -// Test for https://github.com/nodejs/node/issues/42407. - -const repl = require('repl'); - -const r = repl.start(); - -r.write('var buf = Buffer.from({length:200e6},(_,i) => i%256);\n'); -r.write('var ss = buf.toString("binary");\n'); -r.write('ss'); -r.write('.'); - -r.close();