From ff5bdd3321d525dd9d56595330b2ea6b98a2b87f Mon Sep 17 00:00:00 2001 From: David Storch Date: Fri, 20 May 2016 10:54:42 -0400 Subject: SERVER-24196 ensure mapReduce safely frees its RangePreserver --- jstests/core/profile_mapreduce.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'jstests/core/profile_mapreduce.js') 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. -- cgit v1.2.1