diff options
Diffstat (limited to 'jstests/core/geo_center_sphere1.js')
-rw-r--r-- | jstests/core/geo_center_sphere1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_center_sphere1.js b/jstests/core/geo_center_sphere1.js index df3ea9bb36c..cbef0b4302d 100644 --- a/jstests/core/geo_center_sphere1.js +++ b/jstests/core/geo_center_sphere1.js @@ -45,7 +45,7 @@ function test(index) { assert.commandWorked(bulk.execute()); if (index) { - t.ensureIndex({loc: index}); + t.createIndex({loc: index}); } for (i = 0; i < searches.length; i++) { |