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_mapreduce.js | |
parent | 72112a72ec3ee48cb883fc02b2904079d11f4954 (diff) | |
download | mongo-ac7b0469bdb57a3593dc8b97e5a7045db0efbb24.tar.gz |
SERVER-27175 Improve performance of planSummary string generation
Diffstat (limited to 'jstests/core/profile_mapreduce.js')
-rw-r--r-- | jstests/core/profile_mapreduce.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/profile_mapreduce.js b/jstests/core/profile_mapreduce.js index 181e8684501..d579091aff7 100644 --- a/jstests/core/profile_mapreduce.js +++ b/jstests/core/profile_mapreduce.js @@ -40,7 +40,7 @@ assert.eq(profileObj.op, "command", tojson(profileObj)); assert.eq(profileObj.keysExamined, 3, tojson(profileObj)); assert.eq(profileObj.docsExamined, 3, tojson(profileObj)); - assert.eq(profileObj.planSummary, "IXSCAN { a: 1.0 }", tojson(profileObj)); + assert.eq(profileObj.planSummary, "IXSCAN { a: 1 }", tojson(profileObj)); assert(profileObj.execStats.hasOwnProperty("stage"), tojson(profileObj)); assert.eq(profileObj.protocol, getProfilerProtocolStringForCommand(conn), tojson(profileObj)); assert.eq(coll.getName(), profileObj.command.mapreduce, tojson(profileObj)); |