summaryrefslogtreecommitdiff
path: root/jstests/sharding/mr_noscripting.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/mr_noscripting.js')
-rw-r--r--jstests/sharding/mr_noscripting.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/mr_noscripting.js b/jstests/sharding/mr_noscripting.js
index c48055aaba7..bfca188f0b0 100644
--- a/jstests/sharding/mr_noscripting.js
+++ b/jstests/sharding/mr_noscripting.js
@@ -1,4 +1,5 @@
// Tests that running mapReduce does not crash anything if the shards have scripting disabled.
+// @tags: [requires_fcv_44]
(function() {
"use strict";
const shardOpts = [
@@ -27,8 +28,7 @@ const reduceFn = function(key, values) {
// TODO SERVER-42511 Remove the usage of internalQueryUseAggMapReduce.
assert.commandFailedWithCode(
- testDB.runCommand({mapreduce: 'bar', map: mapFn, reduce: reduceFn, out: {inline: 1}}),
- TestData.setParameters.internalQueryUseAggMapReduce ? 31264 : 16149);
+ testDB.runCommand({mapreduce: 'bar', map: mapFn, reduce: reduceFn, out: {inline: 1}}), 31264);
st.stop();
}());