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

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.1 Desired
    • Component/s: None
    • None
    • Serverless
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: