Ensure change stream cursors are closed in test runner helper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 4.3.0
    • Affects Version/s: None
    • Component/s: Test Coverage
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In JsonPoweredCrudTestHelper there are methods that create change stream cursors but don't close them. When used by the reactive driver, those cursors may continue to be active even after the test that created them is over, and they can interfere with subsequent tests that create failpoints for getMore commands.

      Simple fix is to close the cursors so that they stop executing getMore commands.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: