[SERVER-82337] Make test hooks work with simulate_atlas_proxy override Created: 19/Oct/23 Updated: 06/Feb/24 |
|
| Status: | Needs Scheduling |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sophia Tan | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | ntdi_code_quality, ntdi_must_have, ntdi_test_plan | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||
| Sprint: | Service Arch 2024-02-05 | ||||||||||||
| Participants: | |||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
In multitenancy passthrough test suites, the test hooks send requests with tenant prefixed databases without setting "expectPrefix:true". Once we remove support for parsing tenant id from prefix without "expectPrefix:true" (SERVER-82335), the test hooks will not work. Before that, we should make test hooks work with simulate_atlas_proxy override to ensure every request has tenant prefix and unsigned security token which sets "expectPrefix:true". |