summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorMindaugas Malinauskas <mindaugas.malinauskas@mongodb.com>2020-06-04 13:08:27 +0300
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-09 09:33:12 +0000
commit6bb53b0cd61385eb357fe6b3d9bfad0b4f23f0fd (patch)
tree66fed91ddbc868ffd14abd71a92969254c8bdd02 /jstests
parent816ba22112096f783ecbfd1f76b386942d5d9ee7 (diff)
downloadmongo-6bb53b0cd61385eb357fe6b3d9bfad0b4f23f0fd.tar.gz
SERVER-48353 logv2 cleanup for db/query, s/query, db/views, db/matcher cherry picked from commit 210053393a311b942835445134794d1bb38268a2
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/log_and_profile_query_hash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/log_and_profile_query_hash.js b/jstests/noPassthrough/log_and_profile_query_hash.js
index 1a8192f1770..e1d6564dfe8 100644
--- a/jstests/noPassthrough/log_and_profile_query_hash.js
+++ b/jstests/noPassthrough/log_and_profile_query_hash.js
@@ -156,7 +156,7 @@ const log = assert.commandWorked(testDB.adminCommand({getLog: "global"})).log;
// 'planCacheKey' and 'queryHash'. Confirm only one line does this.
const creationLogList = log.filter(
logLine => (
- logLine.indexOf("Creating inactive cache entry for query shape") != -1 &&
+ logLine.indexOf("Creating inactive cache entry for query") != -1 &&
(!isJsonLog(conn)
? (logLine.indexOf("planCacheKey " + String(onCreationHashes.planCacheKey)) != -1 &&
logLine.indexOf("queryHash " + String(onCreationHashes.queryHash)) != -1)