summaryrefslogtreecommitdiff
path: root/jstests/parallel/update_serializability1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/parallel/update_serializability1.js')
-rw-r--r--jstests/parallel/update_serializability1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/parallel/update_serializability1.js b/jstests/parallel/update_serializability1.js
index 6fc41204c3c..e57b51ae721 100644
--- a/jstests/parallel/update_serializability1.js
+++ b/jstests/parallel/update_serializability1.js
@@ -10,8 +10,8 @@ for (var i = 0; i < N; i++) {
}
bulk.execute();
-t.ensureIndex({a: 1});
-t.ensureIndex({b: 1});
+t.createIndex({a: 1});
+t.createIndex({b: 1});
s1 = startParallelShell("db.update_serializability1.update( { a : { $gte : 0 } }, { $set : { b : " +
(N + 1) + ", x : 2 } }, false, true );");