summaryrefslogtreecommitdiff
path: root/jstests/core/skip1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/skip1.js')
-rw-r--r--jstests/core/skip1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/skip1.js b/jstests/core/skip1.js
index ae8f589d616..3b99e6b4cdd 100644
--- a/jstests/core/skip1.js
+++ b/jstests/core/skip1.js
@@ -6,7 +6,7 @@ var t = db.jstests_skip1;
if (0) { // SERVER-2845
t.drop();
- t.ensureIndex({a: 1});
+ t.createIndex({a: 1});
t.save({a: 5});
t.save({a: 5});
t.save({a: 5});