Change stream close refactor

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This work came out of NODE-2548 and was pulled out as a prerequisite.

      • Refactor ChangeStream.close to use maybePromise helper
      • Ensure explicitly closed change streams don't process further changes
      • Fix broken mid-close tests by delaying the final write
      • Add waitForStarted helper tests where appropriate to reduce flakiness

            Assignee:
            Eric Adum (Inactive)
            Reporter:
            Eric Adum (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: