Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81986

`list_collections1.js` should ignore `db.system.profile` collection when calling `listCollections` cmd

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2023-11-13, CAR Team 2023-11-27
    • 20
    • 1

      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`.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: