Use explicit tenantIds in change_stream_change_collection_role_auth.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-05-15, QE 2023-05-29, QE 2023-06-12, QE 2023-06-26, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04, QE 2023-09-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test change_stream_change_collection_role_auth.js enables the multitenancySupport server parameter, but it also uses the `internalChangeStreamUseTenantIdForTesting` flag to avoid needing to send tenantIds in the requests directly. PM-2346 is making it such that requests are required to contain a tenantId when running with multitenancySupport enabled. This test should send tenantIds in the requests (using either $tenant or a security token) rather than relying on `internalChangeStreamUseTenantIdForTesting` to inject tenantIds at lower layers in the server.

            Assignee:
            Sebastien Mendez
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: