Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2288

Verify encryption client is closed when Client constructor block form is used

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.19.0
    • Affects Version/s: None
    • Component/s: Tests

      In https://jira.mongodb.org/browse/RUBY-2165 the block form of the Client constructor was fixed to close the client after the block finished and tests were added asserting that the client's cluster is closed after block finishes.

      Besides cluster, a client also creates an auto encrypter which may create its own client. It may be useful to extend the tests to also assert that the encrypter's client is closed when block form is used.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: