PYTHON-2118 Adjust impossible writeConcern tests for 4.4
This commit is contained in:
parent
c69ea64220
commit
5ccdf1af44
@ -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)
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user