diff options
Diffstat (limited to 'jstests/concurrency/fsm_workloads/collmod.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/collmod.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/collmod.js b/jstests/concurrency/fsm_workloads/collmod.js index 095602b43af..fdb93bfc65a 100644 --- a/jstests/concurrency/fsm_workloads/collmod.js +++ b/jstests/concurrency/fsm_workloads/collmod.js @@ -48,7 +48,7 @@ var $config = (function() { assertAlways.eq(this.numDocs, res.nInserted); // create TTL index - res = db[this.threadCollName].ensureIndex({createdAt: 1}, {expireAfterSeconds: 3600}); + res = db[this.threadCollName].createIndex({createdAt: 1}, {expireAfterSeconds: 3600}); assertAlways.commandWorked(res); } |