Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6615 Add integration tests that assert client.close() cleans up all resources
  3. NODE-6626

Add integration server-side resource test implemention for improved client.close()

    • Type: Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a... node.js driver engineer
      I want... to ensure that client.close() cleans up all relevant server resources
      So that... I know the driver accurately performs clean-up

      Acceptance Criteria

      Implementation Requirements

      • For each relevant server resources
        • Create the resource
        • Assert the resource has been created on the server
        • Close the client
        • Assert the resource is no longer on the server
      • See table in the design doc for further explanation on 'relevant server and node resources'

      Follow Up Requirements

      • Align integration tests with new tests cases that arise as the design finalizes

            Assignee:
            aditi.khare@mongodb.com Aditi Khare
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: