diff --git a/test/__init__.py b/test/__init__.py index 2cac4122e..8f043e679 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -239,6 +239,7 @@ class ClientContext(object): port, username=db_user, password=db_pwd, + replicaSet=self.replica_set_name, **self.ssl_client_options) # May not have this if OperationFailure was raised earlier.