summaryrefslogtreecommitdiff
path: root/jstests/gle/create_index_gle.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/gle/create_index_gle.js')
-rw-r--r--jstests/gle/create_index_gle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/gle/create_index_gle.js b/jstests/gle/create_index_gle.js
index 8a10e5a2e9f..11e7186817e 100644
--- a/jstests/gle/create_index_gle.js
+++ b/jstests/gle/create_index_gle.js
@@ -38,7 +38,7 @@ var testDB2 = secConn.getDB('test');
testDB.user.insert({x: 1});
-testDB.user.ensureIndex({x: 1});
+testDB.user.createIndex({x: 1});
assert.gleOK(testDB.runCommand({getLastError: 1, w: 2}));
replTest.awaitReplication();