Replace setFailPoint and clearFailPoint with configureFailPoint function in fail_point_util.js

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • Repl 2021-06-28, Repl 2021-07-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      fail_point_util.js (added in SERVER-39165) contains a helper function for turning on/off and waiting for a fail point. setFailPoint in rslib.js is equivalent to configureFailPoint in fail_point_util.js, and clearFailPoint is equivalent to doing off() on the returned fail point. The tests that use tests functions should be updated to use fail_point_util.js instead.

            Assignee:
            Mina Mahmood (Inactive)
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: