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

Replace setFailPoint and clearFailPoint with configureFailPoint function in fail_point_util.js

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

      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@mongodb.com Mina Mahmood (Inactive)
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: