[SERVER-69764] Enable featureFlagRequireTenantId for native tenant data isolation tests Created: 15/Sep/22  Updated: 29/Oct/23  Resolved: 06/Oct/22

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

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Adi Agrawal
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-10-03, Server Serverless 2022-10-17
Participants:

 Description   

Currently the three tests (native_tenant_data_isolation_stop_restart.js, native_tenant_data_isolation_basic_dollar_tenant.js, and native_tenant_data_isolation_basic_security_token.js) run only with multitenancySupport enabled. We should now be able to run them with featureFlagRequireTenantId as well.

We have two options to do this -
1. Re-enable featureFlagRequireTenantId to run by default in the feature flags build variants by removing it from this list, so they will be run with the feature flag only on the allFeatureFlagsVariants. (This is dependent on oplog application work being done first).
2. Enable the feature flag in the tests themselves, so that we have tests that run with and without the feature flag on.



 Comments   
Comment by Githook User [ 06/Oct/22 ]

Author:

{'name': 'Adityavardhan Agrawal', 'email': 'aa729@cornell.edu', 'username': 'Adityav369'}

Message: SERVER-69764: Run native_tenant jstests with featureFlagRequireTenantId enabled.
Branch: master
https://github.com/mongodb/mongo/commit/28ef2bc3ec29acabea963eea08a7b0abab1df79c

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