diff options
author | James Wahlin <james.wahlin@10gen.com> | 2016-12-19 14:02:02 -0500 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2016-12-27 16:22:21 -0500 |
commit | ac7b0469bdb57a3593dc8b97e5a7045db0efbb24 (patch) | |
tree | c759fe0f6c4dff381ac08944f603851db6492c16 /jstests/core/profile_count.js | |
parent | 72112a72ec3ee48cb883fc02b2904079d11f4954 (diff) | |
download | mongo-ac7b0469bdb57a3593dc8b97e5a7045db0efbb24.tar.gz |
SERVER-27175 Improve performance of planSummary string generation
Diffstat (limited to 'jstests/core/profile_count.js')
-rw-r--r-- | jstests/core/profile_count.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/profile_count.js b/jstests/core/profile_count.js index 5e448201811..2fb9063a25b 100644 --- a/jstests/core/profile_count.js +++ b/jstests/core/profile_count.js @@ -68,7 +68,7 @@ assert.eq(profileObj.command.query, query, tojson(profileObj)); assert.eq(profileObj.keysExamined, 6, tojson(profileObj)); - assert.eq(profileObj.planSummary, "COUNT_SCAN { a: 1.0 }", tojson(profileObj)); + assert.eq(profileObj.planSummary, "COUNT_SCAN { a: 1 }", tojson(profileObj)); assert(profileObj.execStats.hasOwnProperty("stage"), tojson(profileObj)); assert.eq(profileObj.appName, "MongoDB Shell", tojson(profileObj)); |