summaryrefslogtreecommitdiff
path: root/jstests/sharding/map_reduce_invalid_result_set.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/map_reduce_invalid_result_set.js')
-rw-r--r--jstests/sharding/map_reduce_invalid_result_set.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/jstests/sharding/map_reduce_invalid_result_set.js b/jstests/sharding/map_reduce_invalid_result_set.js
index 40fc2dfa392..b2959be3548 100644
--- a/jstests/sharding/map_reduce_invalid_result_set.js
+++ b/jstests/sharding/map_reduce_invalid_result_set.js
@@ -1,5 +1,6 @@
// Tests that mapReduce commands fail if the result set does not fit into a single batch.
// @tags: [
+// requires_fcv_44,
// uses_map_reduce_with_temp_collections,
// does_not_support_stepdowns,
// ]
@@ -7,11 +8,6 @@
"use strict";
-// This test assumes we are running against the new version of mapReduce.
-if (TestData.setParameters.internalQueryUseAggMapReduce != 1) {
- return;
-}
-
const st = new ShardingTest({shards: 2});
const testDB = st.getDB("test");
const coll = "map_reduce_invalid_result_set";