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 1784e13 commit e7027d4Copy full SHA for e7027d4
cluster_test.go
@@ -2161,7 +2161,6 @@ func (s *S) TestConnectServerFailed(c *C) {
2161
// no sockets leak.
2162
// 5 is a rough estimate for the deviation cause by concurrency and backgroud pinger.
2163
stats := mgo.GetStats()
2164
- c.Assert(stats.MasterConns > maxDials/2*3-5, Equals, true)
2165
c.Assert(stats.SocketsAlive > maxDials-5, Equals, true)
2166
c.Assert(stats.SocketsAlive < maxDials+5, Equals, true)
2167
}
0 commit comments