diff options
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/noPassthrough/log_and_profile_query_hash.js | 2 |
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) |