Validate the parameters to configureFailPoint given the failPoint being configured.

XMLWordPrintableJSON

    • Service Arch
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              [DO NOT USE] Backlog - Service Architecture
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: