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

Change stream close refactor

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Eric Adum (Inactive)
            Reporter:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: