Shane Harvey
2a74601572
PYTHON-2676 Unified Test Runner changes in preparation for Load Balancer Support ( #623 )
...
Resync crud, change stream, SDAM, server_selection, transactions, uri-options, tests.
PYTHON-2348 Correctly express lack of event assertions in change stream tests.
2021-05-18 10:20:36 -07:00
Shane Harvey
45a7963aac
PYTHON-2082 Retryable writes use the RetryableWriteError label
...
Use retryable write logic for transaction commit/abort.
Do not assign the TransientTransactionError label to errors outside a
transaction.
2020-05-19 10:49:28 -07:00
Shane Harvey
fb7533e888
PYTHON-2099 Make ExceededTimeLimit a retryable writes error
...
Reinstate DuplicateKey code assertions.
2020-05-12 14:41:11 -07:00
Shane Harvey
243307be16
PYTHON-1901 Avoid using readConcern snapshot in sharded txn tests
2019-08-12 10:20:12 -07:00
Shane Harvey
4170d8ac7f
PYTHON-1829 Support maxTimeMS for commitTransaction
...
Add max_commit_time_ms to TransactionOptions.
MaxTimeMSExpired errors on commit are labelled UnknownTransactionCommitResult.
with_transaction does not retry commit after MaxTimeMSExpired errors.
2019-06-04 15:44:32 -07:00
Shane Harvey
9cccada41e
PYTHON-1794 Add runOn support to transaction tests
2019-04-02 13:15:08 -07:00
Shane Harvey
82131c4448
PYTHON-1671 Add ClientSession.with_transaction API ( #411 )
2019-03-07 13:37:13 -08:00