summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2017-11-27 18:19:40 -0500
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-09-10 18:08:08 -0400
commite013b606016ead1c82ed7c09cbe3c558d5aaa3b2 (patch)
tree3e21e5353da1536c0209cafc929597bff89dc7ff /jstests/noPassthroughWithMongod
parent3339fc9385a6ae9c77d0830e7afdfe033a3a1b53 (diff)
downloadmongo-e013b606016ead1c82ed7c09cbe3c558d5aaa3b2.tar.gz
SERVER-25175 listIndexes command only includes ready indexes
(cherry picked from commit 2cc9396586e771a0484a4017bf3f126098818d2b)
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/indexbg_drop.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/jstests/noPassthroughWithMongod/indexbg_drop.js b/jstests/noPassthroughWithMongod/indexbg_drop.js
index 1f4e1c1be64..244d0cca9c7 100644
--- a/jstests/noPassthroughWithMongod/indexbg_drop.js
+++ b/jstests/noPassthroughWithMongod/indexbg_drop.js
@@ -56,14 +56,6 @@ jsTest.log("Starting background indexing for test of: " + tojson(dc));
masterDB.getCollection(collection).ensureIndex({b: 1});
masterDB.getCollection(collection).ensureIndex({i: 1}, {background: true});
-assert.eq(3, masterDB.getCollection(collection).getIndexes().length);
-
-// Wait for the secondary to get the index entry
-assert.soon(function() {
- return 3 == secondDB.getCollection(collection).getIndexes().length;
-}, "index not created on secondary (prior to drop)", 240000);
-
-jsTest.log("Index created and index entry exists on secondary");
// make sure the index build has started on secondary
assert.soon(function() {