diff --git a/replicaset/replicaset_test.go b/replicaset/replicaset_test.go
index <HASH>..<HASH> 100644
--- a/replicaset/replicaset_test.go
+++ b/replicaset/replicaset_test.go
@@ -400,9 +400,9 @@ func (s *MongoSuite) TestIsReadyMinority(c *gc.C) {
 	c.Check(ready, jc.IsFalse)
 }
 
-func (s *MongoSuite) TestIsReadyConnectionDropped(c *gc.C) {
+func (s *MongoSuite) checkConnectionFailure(c *gc.C, failure error) {
 	s.PatchValue(&getCurrentStatus,
-		func(session *mgo.Session) (*Status, error) { return nil, io.EOF },
+		func(session *mgo.Session) (*Status, error) { return nil, failure },
 	)
 	session := s.root.MustDial()
 	defer session.Close()
@@ -413,6 +413,10 @@ func (s *MongoSuite) TestIsReadyConnectionDropped(c *gc.C) {
 	c.Check(ready, jc.IsFalse)
 }
 
+func (s *MongoSuite) TestIsReadyConnectionDropped(c *gc.C) {
+	s.checkConnectionFailure(c, io.EOF)
+}
+
 func (s *MongoSuite) TestIsReadyError(c *gc.C) {
 	failure := errors.New("failed!")
 	s.PatchValue(&getCurrentStatus,
Factor out checkConnectionFailure.