[SERVER-81986] `list_collections1.js` should ignore `db.system.profile` collection when calling `listCollections` cmd Created: 09/Oct/23  Updated: 13/Nov/23  Resolved: 13/Nov/23

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

Type: Bug Priority: Major - P3
Reporter: Pol Pinol Assignee: Aitor Esteve Alvarado
Resolution: Fixed Votes: 0
Labels: car-qw, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-72229 Implement FCV upgrade step to remove ... Closed
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: CAR Team 2023-11-13, CAR Team 2023-11-27
Participants:
Linked BF Score: 20
Story Points: 1

 Description   

Due to SERVER-72229, the system.profile collection may be created when upgrading the fcv.

The existence of a new collection can break the following logic at `list_collections1.js` test that was assuming the total number of collections to be 6 explicitly created:

  • Checking the number of collections returned by the first batch is lower than 6 (here).
  • The total number of collections returned is 6 (here). 

The goal of this ticket is to ignore / filter out the `system.profile` collection when calling listCollections command at `list_collections1.js`.



 Comments   
Comment by Githook User [ 13/Nov/23 ]

Author:

{'name': 'Aitor Esteve Alvarado', 'email': 'aitor.esteve@mongodb.com', 'username': 'atesteve'}

Message: SERVER-81986 `list_collections1.js` should ignore `db.system.profile` collection when calling `listCollections` cmd
Branch: master
https://github.com/mongodb/mongo/commit/de87e80624b54c9a38eb84ad28f932d9b6e584c2

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