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

session_leak_tests sandbox not isolated

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

      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.

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

              Created:
              Updated:
              Resolved: