summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2016-01-05 16:10:05 -0500
committerBenety Goh <benety@mongodb.com>2016-01-07 15:11:47 -0500
commit0636cc5de3485479edc98ce383ff8b512bfe118d (patch)
tree0034182bdda169b013d4d73311e7666b2dec76bf
parent5e8ffcdbecdcd86db691dea8cce13a8881314c8c (diff)
downloadmongo-0636cc5de3485479edc98ce383ff8b512bfe118d.tar.gz
SERVER-21583 fixed background index options in background index replsets test
(cherry picked from commit 54dfb6df908be81c50587a854964551ad72110cc)
-rw-r--r--jstests/replsets/background_index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/background_index.js b/jstests/replsets/background_index.js
index 5ccf36dcf26..9c92f8ca8f4 100644
--- a/jstests/replsets/background_index.js
+++ b/jstests/replsets/background_index.js
@@ -22,7 +22,7 @@
}
// Add a background index.
- coll.ensureIndex({x: 1, background: true});
+ coll.ensureIndex({x: 1}, {background: true});
// Rename the collection.
assert.commandWorked(