Increase CSOT timeout
This commit is contained in:
parent
72ba8bfd38
commit
d9c6c9d073
@ -595,7 +595,7 @@ class TestTransactionsConvenientAPI(AsyncTransactionsBase):
|
||||
await coll.insert_one({})
|
||||
listener.reset()
|
||||
async with client.start_session() as s:
|
||||
with pymongo.timeout(0.1):
|
||||
with pymongo.timeout(1.0):
|
||||
with self.assertRaises(ExecutionTimeout):
|
||||
await s.with_transaction(callback)
|
||||
|
||||
|
||||
@ -583,7 +583,7 @@ class TestTransactionsConvenientAPI(TransactionsBase):
|
||||
coll.insert_one({})
|
||||
listener.reset()
|
||||
with client.start_session() as s:
|
||||
with pymongo.timeout(0.1):
|
||||
with pymongo.timeout(1.0):
|
||||
with self.assertRaises(ExecutionTimeout):
|
||||
s.with_transaction(callback)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user