[SERVER-76475] Skip sampleId validation based on testingDiagnosticsEnabled instead of enableTestCommands Created: 24/Apr/23  Updated: 29/Oct/23  Resolved: 24/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding NYC 2023-05-01
Participants:

 Description   

enableTestCommands is meant to be used for enable more commands not for changing the behavior for testing. That's what testingDiagnosticsEnabled is for. Here is where the check is. 



 Comments   
Comment by Githook User [ 25/Apr/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-76475 Skip sampleId validation based on testingDiagnosticsEnabled instead of enableTestCommands

(cherry picked from commit 30c2cf0073d86c4e18b0f051178831f4b21274df)
Branch: v7.0
https://github.com/mongodb/mongo/commit/754b166d70a1794e667a9c76e182af6bb7c6fbc7

Comment by Githook User [ 24/Apr/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-76475 Skip sampleId validation based on testingDiagnosticsEnabled instead of enableTestCommands
Branch: master
https://github.com/mongodb/mongo/commit/30c2cf0073d86c4e18b0f051178831f4b21274df

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