Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39474

Fix incorrect use of "skip" parameter to configureFailPoint in txn_two_phase_commit_failover.js

    • Fully Compatible
    • ALL
    • Sharding 2019-02-25
    • 50

      1) Specify "skip" as the "mode" parameter, not as a separate field

      2) For the test cases where the config server is the coordinator, if "skip" is specified, increment "skip" in addition to "numTimesShouldBeHit"

      3) This line should probably go inside the if block above it for all the coordinator failpoints, otherwise I think the skip will be incremented twice, once for the if-condition and once on that line.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: