Details
-
Improvement
-
Resolution: Won't Do
-
Minor - P4
-
None
-
4.1.9
-
None
-
Service Arch
Description
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.