Commit Graph

2852 Commits

Author SHA1 Message Date
Noah Stapp
5a867405e6
Switch order of test_Connection_checkout_fails_due_to_error_establish… (#1523) 2024-02-14 16:44:48 -08:00
Noah Stapp
4191ca81ff
Merge branch 'master' into standardized-logging 2024-02-14 10:27:56 -08:00
Noah Stapp
9e51cd31d1
Support tagSets in tests (#1522) 2024-02-14 10:24:54 -08:00
Steven Silvester
d99a095b33
PYTHON-4205 Fix TestDataLakeProse.test_3 (#1519) 2024-02-09 19:41:47 -06:00
Noah Stapp
6e4f194b8e
Final resync (#1516) 2024-02-08 12:22:57 -08:00
Noah Stapp
f8f98dd2dc
PYTHON-3459 Add log messages to Server selection spec (#1511) 2024-02-08 12:05:52 -08:00
Jib
fe37841f07
PYTHON-4147-fix: Remove quote wrapping and remove shell=true usage (#1513) 2024-02-07 14:24:20 -05:00
Shane Harvey
4c2e717b9f
PYTHON-4204 Optimize JSON decoding using lookup table to find $ keys (#1512) 2024-02-06 16:18:31 -08:00
Shane Harvey
296a44df46
PYTHON-4179 Verify document_class type in json_util.loads test (#1509) 2024-02-06 14:18:09 -08:00
Steven Silvester
051ff77062
PYTHON-4196 Fix import in OIDC Test (#1504) 2024-02-06 08:49:57 -06:00
Steven Silvester
2f94927354
PYTHON-4182 Skip test_unpin_after_TransientTransactionError_error_on_abort on latest (#1508) 2024-02-05 20:30:35 -06:00
Shane Harvey
698599c737
PYTHON-2267 Test passing UUID to encrypt_expression (#1510) 2024-02-05 15:53:44 -08:00
Noah Stapp
522bfca70f
Resync with master (#1506) 2024-02-05 13:28:18 -08:00
Noah Stapp
62c6d0f330
PYTHON-3587 Do not perform server selection to determine sessions support (#1491) 2024-02-05 13:19:26 -08:00
Jib
0f7e1b0110
PYTHON-4147: Silence noisy thread.start() RuntimeError at shutdown (#1486) 2024-02-05 08:46:32 -05:00
ilukyanchikov
da2bf9dbcc
PYTHON-2267: Allow UUID key_id to be passed to ClientEncryption.encrypt (#1494) 2024-02-02 10:29:14 -08:00
Steven Silvester
4bc2a482d9
PYTHON-3467 OIDC: Automatic token acquisition for Azure Identity Provider (#1443)
Co-authored-by: Jib <Jibzade@gmail.com>
2024-02-02 09:53:48 -06:00
Noah Stapp
0d4ccd504d
PYTHON-3473 Add log messages to CMAP spec (#1490) 2024-02-01 10:11:38 -08: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
Shane Harvey
55f12c684c
PYTHON-4112 Revert to testing with pymongocrypt@master and update mock KMS ports (#1492) 2024-01-30 17:51:15 -08:00
Noah Stapp
6022cd005c PYTHON-3457 & PYTHON-3458 - Improve performance when logging is disabled (#1480) 2024-01-30 15:43:27 -08:00
Noah Stapp
e4771ea3b1 PYTHON-3457 & PYTHON-3458 - Standardized debugging logging for command monitoring (#1430)
Co-authored-by: sleepyStick <itsirisho@gmail.com>
2024-01-30 15:43:27 -08:00
Shane Harvey
0615df47b5
PYTHON-4112 Support named KMS providers (#1487)
Requires pymongocrypt >= 1.9.0 and libmongocrypt >= 1.9.0.
2024-01-30 12:00:24 -08:00
Steven Silvester
68d22b20bd
PYTHON-4151 Use Centralized Scripts for CSFLE Tests (#1477) 2024-01-29 17:19:24 -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
Noah Stapp
5877be9623
PYTHON-4166 Pools should be properly closed instead of reset in topology (#1485) 2024-01-29 10:43:35 -08:00
Shane Harvey
c05a62b188
PYTHON-4170 Fix test_invalid_hostname_in_kms_certificate (#1488) 2024-01-26 10:22:21 -08:00
Shane Harvey
2fc4282acd
PYTHON-4146 Improve GridFS upload performance by batch writing chunks with insert_many (#1478) 2024-01-22 10:53:53 -08:00
Shane Harvey
c3458e9d8e
PYTHON-4155 Add perf benchmark with TLS enabled (#1481) 2024-01-22 10:39:26 -08:00
Noah Stapp
c4e4bd638f
PYTHON-3175 Preemptively cancel in progress operations when SDAM heartbeats timeout (#1465) 2024-01-19 10:55:10 -08:00
Shane Harvey
b8d6bfdf08
PYTHON-4144 Optimize json_util encoding performance using single dispatch table (#1475) 2024-01-18 11:43:36 -08:00
Shane Harvey
72663deb33
PYTHON-4142 json_util.default should always convert Int64 (#1473) 2024-01-12 10:57:54 -08:00
Casey Clements
7adda818a5
PYTHON-4016 making ReadConcernMajorityNotAvailableYet a retryable error (#1467) 2024-01-11 08:55:53 -05:00
Casey Clements
dcec415771
PYTHON-4015 Add test that ExceededTimeLimit is a retryable exception for reads (#1463) 2024-01-10 11:20:10 -05:00
Shane Harvey
70bd1632cf
PYTHON-4125 Add JSON micro-benchmarks (#1466) 2024-01-09 10:17:33 -08:00
Shane Harvey
3dea7ccf31
PYTHON-4087 Fix test_validate_collection_background by flushing writes via fsync (#1464) 2024-01-05 13:30:05 -08:00
Steven Silvester
99c7338163
PYTHON-4111 Search index management operations fail with a different error message (#1462) 2024-01-04 05:32:57 -06:00
Jib
60d0761527
PYTHON-2884: Replaced SON usage in all internal classes and commands (#1426) 2023-12-19 15:42:23 -08:00
Noah Stapp
9d32a09e30
PYTHON-4084 Fix BSON inflation for DBRef (#1458) 2023-12-12 13:00:14 -08:00
Noah Stapp
568a3b1294
PYTHON-4084 Fix BSON inflation for RawBSONDocument (#1456) 2023-12-08 10:08:41 -08:00
Steven Silvester
1412afef61
PYTHON-4046 Add connection string tests for uppercase UNIX socket names (#1453) 2023-12-05 15:27:34 -06:00
Shane Harvey
1a6f99c653
PYTHON-3822 Add SRV test with uppercase hostname (#1423) 2023-12-05 13:27:18 -08:00
Casey Clements
0cc968c029
PYTHON-4072 Add test decorator turning off test.test_database.TestDat… (#1449) 2023-12-04 11:11:35 -06:00
Noah Stapp
b1939e1470
PYTHON-2822 Add server connectionId to command monitoring events (#1438) 2023-12-01 14:33:37 -08:00
Casey Clements
d4dfd4a044
PYTHON-3036 Improve error message for unknown MongoClient options (#1440) 2023-11-30 11:21:10 -08:00
Steven Silvester
6537415da7
PYTHON-3605 Move type annotations to parameter list in rendered docs (#1441) 2023-11-27 09:24:00 -06:00
Shane Harvey
ec35f7f76e
PYTHON-3823 Audit benchmark data_size and calculate dynamically it where possible (#1439) 2023-11-17 12:07:33 -08:00
Shane Harvey
fc220532df
PYTHON-3823 Merge perf task into main project (#1436) 2023-11-17 10:35:46 -08:00
Jib
0ff6a87438
PYTHON-4038: Ensure retryable read OperationFailures re-raise exception when 0 or NoneType error code is provided. (#1425) 2023-11-15 15:03:36 -05:00
Noah Stapp
5dc60342ed
PYTHON-2834 Direct read/write retries to another mongos if possible (#1421) 2023-11-14 12:49:42 -08:00