Commit Graph

25 Commits

Author SHA1 Message Date
Noah Stapp
df30eff390
PYTHON-5135 - Rename WriteConcernFailed code name to WriteConcernTimeout (#2214) 2025-03-24 15:37:00 -04:00
Shane Harvey
a3cc43f60d
PYTHON-4999 Resync retryable writes tests (#2073) 2025-01-23 12:47:19 -08:00
Shane Harvey
1dd42173e1
PYTHON-4919 Resync tests for retryable writes (#2006) 2024-11-18 10:26:22 -08:00
Shruti Sridhar
4dde30147c
PYTHON-4671 Skip client.bulk_write tests on Atlas Serverless (#1807) 2024-08-22 14:06:02 -07:00
Shruti Sridhar
d08fec6342
PYTHON-4550 Add MongoClient.bulk_write API (#1745) 2024-08-06 11:10:01 -07:00
Steven Silvester
3235d392c1
PYTHON-4242 Convert retryable writes spec tests to unified test format (#1752) 2024-07-31 16:36:49 -05:00
Steven Silvester
0793138d7f
PYTHON-4117 Require 4.3.1+ server version when using failCommand errorLabels option (#1526) 2024-02-20 13:28:08 -06:00
Steven Silvester
1d65448af6
Revert "PYTHON-4018 Clarify exactly what code/label fields drivers should inspect to determine retryability" (#1495) 2024-01-31 13:57:23 -06:00
Steven Silvester
85b0c0e3c1
PYTHON-4018 Clarify exactly what code/label fields drivers should inspect to determine retryability (#1489) 2024-01-29 12:58:15 -06:00
Julius Park
26efc0f43d
PYTHON-3388 Propagate Original Error for Write Errors Labeled NoWritesPerformed (#1117) 2022-12-01 17:54:15 -08:00
Shane Harvey
3ab73905dc
PYTHON-3500 Resync retryable tests to fix serverless failures (#1116) 2022-11-15 17:43:34 -08:00
Shane Harvey
133c55d8cb
PYTHON-3500 Improve test coverage for retryable handshake errors (#1112) 2022-11-10 13:31:14 -08:00
Shane Harvey
f8f34b0438
PYTHON-2951 Test that handshake errors are retryable (#846) 2022-02-23 14:00:43 -08:00
Shane Harvey
2af521ec03
PYTHON-2984 Fix retry behavior for bulk write writeConcernError (#800) 2021-11-19 12:15:23 -08:00
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
1c2651be58
PYTHON-2357 Specify error label in retryable writes test (#494)
PYTHON-2356 Add errorLabelsContain/errorLabelsOmit support to retryable writes tests
2020-10-02 12:56:33 -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
Bernie Hackett
8f0ea1daec PYTHON-1797 PYTHON-1659 Update retryWrites tests 2019-07-15 17:33:51 -07:00
Bernie Hackett
7409f844e6 PYTHON-1740 - retryWrites defaults to true 2019-03-06 16:32:53 -08:00
Shane Harvey
622d33d0cb PYTHON-1545 Support for retryable writeConcernErrors
Return proper BulkWriteResult after a retryable write succeeds.
Reduce retryable writes test suite time from 90 to 30 seconds by
reducing the heartbeat interval.
2018-06-14 09:51:08 -07:00
Shane Harvey
96aeb461f9 PYTHON-1545 Consider more errors retryable 2018-06-07 14:37:01 -07:00
Bernie Hackett
577c167c88 PYTHON-1546 - Update various spec tests and adjust runners 2018-06-04 15:44:13 -07:00
Shane Harvey
47302096f9 PYTHON-1339 Retryable multi-statement writes.
MongoClient with retryWrites=true works when the cluster does not support retryable writes.
2017-11-20 12:18:00 -08:00
Shane Harvey
8b1aa3aafa PYTHON-1339 Retryable single-statement writes.
Add retryWrites MongoClient and URI setting.
Retry once for supported single-statement write operations including:
insert_one, update_one, delete_one, find_one_and_update, find_one_and_replace,
find_one_and_delete, update and remove with multi=False, and find_and_modify.
2017-10-30 14:23:16 -04:00