summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@mongodb.com>2022-11-18 12:05:34 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-29 15:14:22 +0000
commit70111eb476eed6423ffc95cf1cf300bbe0298d75 (patch)
tree613aca111376f3ed339a311e86463a8a0d9f338f
parent880aa5f3b38e1026e4be9ce8f4403703d19d979f (diff)
downloadmongo-70111eb476eed6423ffc95cf1cf300bbe0298d75.tar.gz
SERVER-71493 Fix regex in quiet_shell.js
-rw-r--r--jstests/noPassthrough/quiet_shell.js2
1 files changed, 1 insertions, 1 deletions
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.
{