[SERVER-80775] invalid configuration for multitenancy test in change_streams_multitenant_passthrough Created: 05/Sep/23  Updated: 29/Oct/23  Resolved: 06/Sep/23

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

Type: Bug Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Server Serverless 2023-09-18
Participants:
Linked BF Score: 150

 Description   

The change_streams_multitenant_passthrough.yml was used for testing with requests which has "$tenant" only which come from mongoq.

Recently, this yml file was changed to use simulate_atlas_proxy.js override for testing with requests which come from Atlas Proxy. Unfortunately, "useExpectPrefix: true" is missed so that the overrided request format is not valid. 

To fix this issue, we need to change this yml file to use "inject_dollar_tenant.js". 

We also need to open a task ticket to create a new test suite which use 'simulate_atlas_proxy.js'  test with requests which comes from Atlas Proxy.



 Comments   
Comment by Githook User [ 06/Sep/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-80775 use inject_dollar_tenant.js in change_streams_multitenant_passthrough
Branch: master
https://github.com/mongodb/mongo/commit/0aaf45a2001d9ab7502c907f312b9fb87b25491f

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