Skip to content

Commit e7027d4

Browse files
committed
remove unreasonable assert
1 parent 1784e13 commit e7027d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cluster_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2161,7 +2161,6 @@ func (s *S) TestConnectServerFailed(c *C) {
21612161
// no sockets leak.
21622162
// 5 is a rough estimate for the deviation cause by concurrency and backgroud pinger.
21632163
stats := mgo.GetStats()
2164-
c.Assert(stats.MasterConns > maxDials/2*3-5, Equals, true)
21652164
c.Assert(stats.SocketsAlive > maxDials-5, Equals, true)
21662165
c.Assert(stats.SocketsAlive < maxDials+5, Equals, true)
21672166
}

0 commit comments

Comments
 (0)