-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: 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.
- related to
-
RUBY-1822 Support providing certificate chains as client certificates
- Closed