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

Create agg request using tenantId in auth session test

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Serverless
    • Fully Compatible
    • Service Arch 2023-10-16

      Authorization session test contains both NamespaceString and DatabaseName objects without tenantIds, which will fail when we assert that tenantIds are provided in all commands.  Many of these tests call aggregation_request_helper::parseFromBSONForTest (which calls aggregation_request_helper::parseFromBSON) which will attempt to build an AggregateCommandRequest object that calls the deserializer.

      None of these tests are gated by the multitenancy flag; they should either pass in tenantIds or be bypassed in multitenancy mode.  This may require a discussion with the Security team.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: