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

Scala integration tests should ensure MongoClient instances are closed

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4.1
    • Affects Version/s: None
    • Component/s: Scala, Test Runner
    • None

      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.

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

              Created:
              Updated:
              Resolved: