Remove arbitrary wtimeout from gridfs tests
This commit is contained in:
parent
e6457cdd3e
commit
52ebf27413
@ -464,7 +464,7 @@ class TestGridfsReplicaSet(TestReplicaSetClientBase):
|
||||
|
||||
def test_gridfs_replica_set(self):
|
||||
rsc = rs_client(
|
||||
w=self.w, wtimeout=5000,
|
||||
w=self.w,
|
||||
read_preference=ReadPreference.SECONDARY)
|
||||
|
||||
fs = gridfs.GridFS(rsc.pymongo_test)
|
||||
|
||||
@ -373,7 +373,7 @@ class TestGridfsBucketReplicaSet(TestReplicaSetClientBase):
|
||||
|
||||
def test_gridfs_replica_set(self):
|
||||
rsc = rs_client(
|
||||
w=self.w, wtimeout=5000,
|
||||
w=self.w,
|
||||
read_preference=ReadPreference.SECONDARY)
|
||||
|
||||
gfs = gridfs.GridFSBucket(rsc.pymongo_test)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user