Handle exceptions from cursor.next in ReplSetTest

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.0
    • 13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The `checkOplogs` function in ReplSetTest assumes that if a cursors `hasNext()` function does not throw an error that that cursors `next()` function will also not throw an error. This is not true, however. There are some cases where `hasNext()` could return true and `next()` throws an error. The `checkOplogs` function should handle those cases.

            Assignee:
            David Bradford (Inactive)
            Reporter:
            David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: