Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2598

Change stream close refactor

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.adum Eric Adum
              Reporter:
              eric.adum Eric Adum
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: