From d60c487c5388abaa8726b4348210ed84d9431554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 6 Sep 2020 21:25:06 +0200 Subject: [PATCH] test: remove setMaxListeners in test-crypto-random This appears to be a remnant from 413d38c43bc3fa6828e10c75736f81c3d6b7e944. PR-URL: https://github.com/nodejs/node/pull/35079 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- test/parallel/test-crypto-random.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/parallel/test-crypto-random.js b/test/parallel/test-crypto-random.js index e079bc9de2c7d9..e175550c4b4c12 100644 --- a/test/parallel/test-crypto-random.js +++ b/test/parallel/test-crypto-random.js @@ -34,9 +34,6 @@ const { inspect } = require('util'); const kMaxUint32 = Math.pow(2, 32) - 1; const kMaxPossibleLength = Math.min(kMaxLength, kMaxUint32); -// Bump, we register a lot of exit listeners -process.setMaxListeners(256); - common.expectWarning('DeprecationWarning', 'crypto.pseudoRandomBytes is deprecated.', 'DEP0115');