diff options
author | David Storch <david.storch@10gen.com> | 2016-05-20 10:54:42 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2016-05-23 18:26:20 -0400 |
commit | ff5bdd3321d525dd9d56595330b2ea6b98a2b87f (patch) | |
tree | 5db14586802f1d8ad8fee4f098aa462a426e3605 /jstests/core/profile_mapreduce.js | |
parent | 8dbc6f2de3f301bab1063b5ff7677f4e430838d3 (diff) | |
download | mongo-ff5bdd3321d525dd9d56595330b2ea6b98a2b87f.tar.gz |
SERVER-24196 ensure mapReduce safely frees its RangePreserver
Diffstat (limited to 'jstests/core/profile_mapreduce.js')
-rw-r--r-- | jstests/core/profile_mapreduce.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/jstests/core/profile_mapreduce.js b/jstests/core/profile_mapreduce.js index f2bb37480e2..2538862ebba 100644 --- a/jstests/core/profile_mapreduce.js +++ b/jstests/core/profile_mapreduce.js @@ -72,18 +72,7 @@ coll.mapReduce(mapFunction, reduceFunction, {query: {a: {$gte: 0}}, out: outputCollectionName}); profileObj = getLatestProfilerEntry(testDB); - - // The following assertion confirms incorrect behavior. The "ns" field should be set to - // the source collection namespace. Instead it is being set to the output collection's - // namespace. This test will fail and should be replaced once this behavior is fixed under - // SERVER-23621 - - // Test that confirms current incorrect behavior. - var outputCollectionNamespace = testDB.getName() + "." + outputCollectionName; - assert.eq(profileObj.ns, outputCollectionNamespace, tojson(profileObj)); - - // Test that confirms correct behavior, which is currently broken. - // assert.eq(profileObj.ns, coll.getFullName(), tojson(profileObj)); + assert.eq(profileObj.ns, coll.getFullName(), tojson(profileObj)); // // Confirm "fromMultiPlanner" metric. |