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

Add interval parameter to assert.retry

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0-rc4
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-11-21

    Description

      assert.retry (https://github.com/mongodb/mongo/blob/f5c613f11f170cadd4b698d108b3c7b636913568/src/mongo/shell/assert.js#L223-L235) currently does not wait between retries. While this is appropriate default behavior, most uses of it likely want to wait some interval between retries. We should add an interval to sleep between retries with a default of 0.

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: