-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: 4.1.9
-
Component/s: None
-
Service Arch
For example, if a "failCommand" falpoint is configured with configureFailPoint but without a command to fail, the operation succeeds:
ruby-driver-rs:PRIMARY> db.runCommand({configureFailPoint: 'failCommand',mode:{times:1}}) { "ok" : 1, "$clusterTime" : { "clusterTime" : Timestamp(1554754729, 1), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } }, "operationTime" : Timestamp(1554754729, 1) }
However, since no fail point was set as a result, this command should have failed with an appropriate error message indicating the requirement to supply a command to fail.