[SERVER-5701] test mode that enables certain commands, etc... Created: 24/Apr/12  Updated: 19/Mar/13  Resolved: 08/Mar/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Andy Schwerin
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

--testmode on mongo[ds] or something

first candidate is the "captrunc" command



 Comments   
Comment by Andy Schwerin [ 08/Mar/13 ]

Duplicate of SERVER-7122.

Comment by Andy Schwerin [ 24/Apr/12 ]

However you name the commands, the advantage of having a --testmode command line switch is that you can ensure that those commands are not available at runtime unless the user specifically requests them.

Comment by Scott Hernandez (Inactive) [ 24/Apr/12 ]

What about putting all these commands in a { testCommand : {realComamnd:...}} and not showing them via listCommands. They can be marked as special "testing" flag in the command definition.

Generated at Thu Feb 08 03:09:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.