From 70111eb476eed6423ffc95cf1cf300bbe0298d75 Mon Sep 17 00:00:00 2001 From: Shreyas Kalyan Date: Fri, 18 Nov 2022 12:05:34 -0500 Subject: SERVER-71493 Fix regex in quiet_shell.js --- jstests/noPassthrough/quiet_shell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jstests/noPassthrough/quiet_shell.js b/jstests/noPassthrough/quiet_shell.js index f8502b35bda..83c5b2d95e5 100644 --- a/jstests/noPassthrough/quiet_shell.js +++ b/jstests/noPassthrough/quiet_shell.js @@ -2,7 +2,7 @@ 'use strict'; const mongo = MongoRunner.runMongod(); -const regexMatch = /sh([0-9]{5}|[0-9]{4})\|/; +const regexMatch = /sh([0-9]{4,7})\|/; // Test that a normal mongo shell gives us some noise in the raw output. { -- cgit v1.2.1