From 4fd90f16ce7de302bdfd4ac8048cdb9c278f15c4 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 Backport-PR-URL: https://github.com/nodejs/node/pull/42967 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 84686e308c6157..00000000000000 --- a/test/pummel/test-repl-empty-maybelocal-crash.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; -const common = require('../common'); - -if (process.config.variables.arm_version === '7') { - common.skip('Too slow for armv7 bots'); -} - -// 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();