Mongo::Commands::ConfigureFailPoint
To aid testing, MongoDB has the "configureFailpoint" command that can alter server behavior in a wide variety of ways, mostly simulating types of failure that are difficult to cause reliably in tests.
To enable the "configureFailpoint" command, mongod must be started like:
mongod --setParameter enableTestCommands=1
NOTE: for more details, please check the official MongoDB wiki.
Class methods
name
Source