summaryrefslogtreecommitdiff
path: root/jstests/core/profile_mapreduce.js
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2016-12-19 14:02:02 -0500
committerJames Wahlin <james.wahlin@10gen.com>2016-12-27 16:22:21 -0500
commitac7b0469bdb57a3593dc8b97e5a7045db0efbb24 (patch)
treec759fe0f6c4dff381ac08944f603851db6492c16 /jstests/core/profile_mapreduce.js
parent72112a72ec3ee48cb883fc02b2904079d11f4954 (diff)
downloadmongo-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.js2
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));