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

Complete TLS connections in ssl_spec.rb

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

      In spec/mongo/socket/ssl_spec.rb, a number of tests assert that a socket "is alive" after setting various TLS options. This can lead to false positives because the server performs TLS verification after the connection succeeds, and asserting on a socket being alive does not guarantee that the connection succeeded for the purposes of sending/receiving data over it.

      Tests added in 1822/1823 already perform more complete connections, this should be expanded to the existing tests in the file.

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

              Created:
              Updated:
              Resolved: