[SERVER-67254] remove index3.js Created: 14/Jun/22  Updated: 29/Oct/23  Resolved: 23/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-06-27
Participants:

 Description   

This test creates an index on a single field and checks the number of indexes from listIndexes afterwards. We should be able to remove this test without losing test coverage:

// Cannot implicitly shard accessed collections because of extra shard key index in sharded
// collection.
// @tags: [assumes_no_implicit_index_creation]
 
t = db.index3;
t.drop();
 
assert(t.getIndexes().length == 0);
 
t.createIndex({name: 1});
 
t.save({name: "a"});
 
t.createIndex({name: 1});
 
assert(t.getIndexes().length == 2);
 
assert(t.validate().valid);



 Comments   
Comment by Githook User [ 23/Jun/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-67254 remove index3.js
Branch: davish/SERVER-63099
https://github.com/mongodb/mongo/commit/3415ba571e7bf99bcb1621f037249a8f4d8a1cc6

Comment by Githook User [ 22/Jun/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-67254 remove index3.js
Branch: master
https://github.com/mongodb/mongo/commit/3415ba571e7bf99bcb1621f037249a8f4d8a1cc6

Generated at Thu Feb 08 06:07:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.