summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/plan_cache_metrics.js
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2022-02-16 20:36:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-16 21:37:37 +0000
commit9d43212e982f62c24b8f35ca3cf234d5453d05ab (patch)
tree1b2fc49f4f2ee272b009b4ca2fec9861f1f47edd /jstests/noPassthrough/plan_cache_metrics.js
parent76a0ce52fff67f70fb169b96bb2e86e61cfad594 (diff)
downloadmongo-9d43212e982f62c24b8f35ca3cf234d5453d05ab.tar.gz
SERVER-61083 Cache plans that only have a single query solution
Diffstat (limited to 'jstests/noPassthrough/plan_cache_metrics.js')
-rw-r--r--jstests/noPassthrough/plan_cache_metrics.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/jstests/noPassthrough/plan_cache_metrics.js b/jstests/noPassthrough/plan_cache_metrics.js
index 20cdfe92e31..af8bab95ef5 100644
--- a/jstests/noPassthrough/plan_cache_metrics.js
+++ b/jstests/noPassthrough/plan_cache_metrics.js
@@ -100,9 +100,6 @@ function verifyPlanCacheSizeDecrease(coll) {
const originalPlanCacheSize = getPlanCacheSize();
-// Verify that the cache size is zero when the database is started.
-assert.eq(originalPlanCacheSize, 0);
-
// Test plan cache size estimates using multiple collections.
// Verify that the cache size increases when entires are added.