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

Add test to validate tenantId when used as part of DatabaseName in CollectionCatalogTest

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • 6.1 Desired
    • None
    • None
    • Serverless

    Description

      DatabaseName will contain two strings: a dbString which contains just (the string representation of) the database name, and a fullString which contains the tenantId-prefixed database name.  Some of the new functions are tenantId aware, and are able to separately access the tenantId from the database name, but many functions are not tenantId aware, and will need to be passed the fullString in the serverless environment.  However, since in the current stage of development the tenantId is always prefixed, we have that fullString == dbString hence tests are passing without issues.  We need to add a test that validates DatabaseName with fullString != dbString will work with both tenant aware and tenant unaware functions.

      Attachments

        Activity

          People

            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: