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

Test that all commands that return namespaces behave correctly in multitenant environment

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-12-12
    • 2

    Description

      We're already testing that some commands that return a namespace or db name are serialized correctly, but should also test the following commands:

      • drop collection response
      • listCollections response (the "ns" field in the reply cursor)
      • listIndexes cursor response

      In native_tenant_data_isolation_basic_security_token.js, add a call to checkNsSerializedCorrectly after listCollections (check the "ns" field from the cursor part of the listCollections response object) and after dropCollection (check the "ns" field in the drop collection response object).

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: