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

session_leak_tests sandbox not isolated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      EDIT: I don't think this is actually a problem anymore, but not sure how to delete tickets!

      The session leak tests are not wrapped in a describe block, and so their beforeEach and afterEach hooks are being called for every test in the suite. The sandbox used to stub methods isn't isolated to this test file, and can cause problems for other tests attempting to stub those same methods.

        Attachments

          Activity

            People

            • Assignee:
              rebecca.weinberger Rebecca Weinberger
              Reporter:
              rebecca.weinberger Rebecca Weinberger
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: