[SERVER-69724] Test that all commands that return namespaces behave correctly in multitenant environment Created: 15/Sep/22  Updated: 29/Oct/23  Resolved: 05/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-12-12
Participants:
Story Points: 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).



 Comments   
Comment by Githook User [ 05/Dec/22 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-69724 Test that all commands that return namespaces behave correctly in multitenant environment
Branch: master
https://github.com/mongodb/mongo/commit/dca926506ac48399abba8a764328c43d08b010a6

Generated at Thu Feb 08 06:14:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.