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>2017-11-29 20:07:37 -0500
commit2cc9396586e771a0484a4017bf3f126098818d2b (patch)
tree66a2201172fd5404dbea3b0344d2d8c8f718b55b /jstests/noPassthroughWithMongod
parent4174a84257760cae2ea9fdb26e8d3e65feadf253 (diff)
downloadmongo-2cc9396586e771a0484a4017bf3f126098818d2b.tar.gz
SERVER-25175 listIndexes command only includes ready indexes
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 d7cbb4a781b..df346f13c9b 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() {