We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f784dc1 commit aa05fa4Copy full SHA for aa05fa4
session_test.go
@@ -87,6 +87,14 @@ func (s *S) TestPing(c *C) {
87
c.Assert(stats.ReceivedOps, Equals, 1)
88
}
89
90
+func (s *S) TestPingSsl(c *C) {
91
+ session, err := mgo.Dial("localhost:40001?ssl=true")
92
+ c.Assert(err, IsNil)
93
+ defer session.Close()
94
+
95
+ c.Assert(session.Ping(), IsNil)
96
+}
97
98
func (s *S) TestDialIPAddress(c *C) {
99
session, err := mgo.Dial("127.0.0.1:40001")
100
c.Assert(err, IsNil)
0 commit comments