summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/use_disk.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/use_disk.js')
-rw-r--r--jstests/noPassthrough/use_disk.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/use_disk.js b/jstests/noPassthrough/use_disk.js
index f4323bf3d35..61232cea24c 100644
--- a/jstests/noPassthrough/use_disk.js
+++ b/jstests/noPassthrough/use_disk.js
@@ -43,7 +43,7 @@ assert(!profileObj.hasOwnProperty("usedDisk"), tojson(profileObj));
assert.eq(profileObj.hasSortStage, true, tojson(profileObj));
assert.commandWorked(
- testDB.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes: 10}));
+ testDB.adminCommand({setParameter: 1, internalQueryMaxBlockingSortMemoryUsageBytes: 10}));
assert.eq(
8, coll.aggregate([{$match: {a: {$gte: 2}}}, {$sort: {a: 1}}], {allowDiskUse: true}).itcount());
profileObj = getLatestProfilerEntry(testDB);
@@ -136,7 +136,7 @@ assert.eq(profileObj.usedDisk, true, tojson(profileObj));
// Test that usedDisk is not set for a $lookup with a pipeline that does not use disk.
//
assert.commandWorked(testDB.adminCommand(
- {setParameter: 1, internalQueryExecMaxBlockingSortBytes: 100 * 1024 * 1024}));
+ {setParameter: 1, internalQueryMaxBlockingSortMemoryUsageBytes: 100 * 1024 * 1024}));
resetCollection();
resetForeignCollection();
coll.aggregate(