PYTHON-2118 Adjust impossible writeConcern tests for 4.4

This commit is contained in:
Shane Harvey 2020-02-10 10:41:41 -08:00
parent c69ea64220
commit 5ccdf1af44
2 changed files with 2 additions and 3 deletions

View File

@ -31,8 +31,7 @@ from pymongo.operations import IndexModel, InsertOne
from pymongo.read_concern import ReadConcern
from pymongo.write_concern import WriteConcern
from test import client_context, unittest
from test.utils import (IMPOSSIBLE_WRITE_CONCERN,
EventListener,
from test.utils import (EventListener,
disable_replication,
enable_replication,
rs_or_single_client)

View File

@ -46,7 +46,7 @@ from test import (client_context,
db_user,
db_pwd)
IMPOSSIBLE_WRITE_CONCERN = WriteConcern(w=1000)
IMPOSSIBLE_WRITE_CONCERN = WriteConcern(w=50)
class WhiteListEventListener(monitoring.CommandListener):