summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/update_server-5552.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/update_server-5552.js')
-rw-r--r--jstests/noPassthrough/update_server-5552.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/update_server-5552.js b/jstests/noPassthrough/update_server-5552.js
index 876f9688c6f..4af4491b999 100644
--- a/jstests/noPassthrough/update_server-5552.js
+++ b/jstests/noPassthrough/update_server-5552.js
@@ -17,7 +17,7 @@ for (let i = 0; i < N; i++) {
assert.commandWorked(bulk.execute());
const join = startParallelShell(
- "while( db.foo.findOne( { _id : 0 } ).x == 1 ); db.foo.ensureIndex( { x : 1 } );");
+ "while( db.foo.findOne( { _id : 0 } ).x == 1 ); db.foo.createIndex( { x : 1 } );");
t.update({
$where: function() {