We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72ba8bf commit d9c6c9dCopy full SHA for d9c6c9d
2 files changed
test/asynchronous/test_transactions.py
@@ -595,7 +595,7 @@ async def callback(session):
595
await coll.insert_one({})
596
listener.reset()
597
async with client.start_session() as s:
598
- with pymongo.timeout(0.1):
+ with pymongo.timeout(1.0):
599
with self.assertRaises(ExecutionTimeout):
600
await s.with_transaction(callback)
601
test/test_transactions.py
@@ -583,7 +583,7 @@ def callback(session):
583
coll.insert_one({})
584
585
with client.start_session() as s:
586
587
588
s.with_transaction(callback)
589
0 commit comments