Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4412

Scala integration tests should ensure MongoClient instances are closed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.4.1
    • None
    • Scala, Test Runner
    • None

    Description

      This issue was discovered while running tests on a machine with very low open files ulimit of 256, and observing that the Scala tests were consistently causing the server to run out of open file handles for new connections. On investigation it was evident that the root cause is MongoClient instances that are created but never closed.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: