Commit Graph

3212 Commits

Author SHA1 Message Date
Steven Silvester
5f800da807
[v4.13] PYTHON-5406 - Use correct client for test (#2378)
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
2025-06-11 13:24:12 -05:00
Steven Silvester
09a32f6d40
[v4.13] PYTHON-5406 - AsyncPeriodicExecutor must reset CSOT contextvars before executing (#2373)
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
2025-06-10 12:26:43 -05:00
Shane Harvey
4cc5e89ebf
PYTHON-5362 WriteConcern repr should be eval-able (#2338) 2025-05-13 13:37:18 -07:00
Steven Silvester
75f6a3718e
Revert "PYTHON-5126 & PYTHON-5280 Addresses issues raised in DRIVERS-3097 and DRIVERS-3123 " (#2337) 2025-05-12 09:35:08 -05:00
Noah Stapp
aa41e70523
PYTHON-5369 - Re-raise socket.timeout errors if the deadline has alre… (#2326) 2025-05-12 09:28:05 -04:00
Noah Stapp
98b030af94
PYTHON-5356 - Init unified test client SDAM for all unified tests (#2325) 2025-05-08 15:19:31 -04:00
Steven Silvester
5914ea0ff4
PYTHON-5342 Fix test_dns_failures test (#2336) 2025-05-08 13:10:11 -05:00
Noah Stapp
b0667b11d3
PYTHON-5358 - Switch to supported Perf usage in EVG (#2334) 2025-05-06 09:00:30 -04:00
Noah Stapp
e7db0e34aa
PYTHON-5342 - Skip async test_srv_polling tests on Windows (#2320) 2025-04-29 08:42:22 -04:00
Noah Stapp
1dc45fddc1
PYTHON-5322 - Increase test_streaming_protocol.TestStreamingProtocol test_monitor_waits_after_server_check_error timeout (#2315) 2025-04-25 13:27:27 -04:00
Iris
c3e3373df2
PYTHON-5309 Ensure AsyncMongoClient doesn't use PyOpenSSL (#2286)
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-04-24 16:19:09 -07:00
Noah Stapp
34f7d7ee4c
PYTHON-5346 - test_init_disconnected_with_srv cannot run against shar… (#2304) 2025-04-23 16:32:39 -04:00
Steven Silvester
42cb70e9ab
PYTHON-5341 Fix handling of SSL tests with Stable API (#2305) 2025-04-23 14:43:49 -05:00
Noah Stapp
09897b698e
PYTHON-5212 - Do not hold Topology lock while resetting pool (#2301) 2025-04-23 15:13:38 -04:00
Shane Harvey
e2e673edeb
PYTHON-5314 Fix default imports for modules that worked in v4.8 (#2300) 2025-04-22 11:44:58 -07:00
Noah Stapp
412d0005b8
PYTHON-5306 - Fix use of public MongoClient attributes before connection (#2285) 2025-04-21 15:53:21 -04:00
Noah Stapp
0ee8e585c2
PYTHON-5292 - Debug logs should only print on failed tests (#2296) 2025-04-21 09:43:58 -04:00
Steven Silvester
6ed3533b73
PYTHON-5313 Create Evergreen tests that do not run orchestration (#2284) 2025-04-18 13:03:53 -05:00
Noah Stapp
448c8e8326
PYTHON-5325 - Decrease TestAsyncConcurrency.test_concurrency threshold (#2291) 2025-04-16 16:16:25 -04:00
Noah Stapp
4cac781530
PYTHON-5326 - Skip serverless tests with known issue (#2292) 2025-04-16 14:31:05 -04:00
Noah Stapp
e6a4a7145e
PYTHON-5310 - Fix uri_parser AttributeError when used directly (#2283) 2025-04-15 08:05:20 -04:00
Shane Harvey
a8197a792e
PYTHON-5308 Remove SON from doc examples (#2280) 2025-04-11 14:58:03 -07:00
Jeffrey A. Clark
86e221eb5c
PYTHON-5288: SRV hostname validation fails when resolver and resolved hostnames are identical with three domain levels (#2272) 2025-04-09 18:00:04 -04:00
Noah Stapp
3c2ce16ad8
PYTHON-5283 - Skip test.test_monitor.TestMonitor.test_cleanup_executo… (#2268) 2025-04-09 15:14:35 -04:00
Casey Clements
fafa00e9e3
PYTHON-5126 & PYTHON-5280 Addresses issues raised in DRIVERS-3097 and DRIVERS-3123 (#2261) 2025-04-09 09:09:42 -04:00
Steven Silvester
93886286a3
PYTHON-5275 Fix handlig of FIPS build (#2266) 2025-04-08 11:30:17 -05:00
Noah Stapp
bc2cc1ed58
PYTHON-4924 - PoolClearedError should have TransientTransactionError … (#2244) 2025-04-08 11:39:06 -04:00
Noah Stapp
708ce16961
PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event loops (#2256) 2025-04-04 13:22:22 -04:00
Jeffrey A. Clark
1c813dc648
PYTHON-4575 Allow valid SRV hostnames with less than 3 parts (#2234) 2025-04-04 13:09:04 -04:00
Noah Stapp
e7c0814512
PYTHON-4557 - Fix write log messages for retried commands (#2260) 2025-04-03 15:33:11 -04:00
Shane Harvey
8b668898b8
PYTHON-5208 Add spec test for wait queue timeout errors do not clear the pool (#2199)
Also stop running the ping command to advance session cluster times in the unified tests.
2025-04-03 12:05:45 -07:00
Steven Silvester
61033760e5
PYTHON-5260 Fix OCSP test setup (#2254) 2025-04-02 09:53:49 -05:00
Noah Stapp
3210b175dd
PYTHON-4557 - Add log message for retried commands (#2248) 2025-04-02 08:29:23 -04:00
Noah Stapp
04ebbcde87
PYTHON-5259 - Better test assertions for error substrings (#2253) 2025-04-02 08:22:25 -04:00
Noah Stapp
e724d66bb5
PYTHON-5250 - Change streams expanded events present by default in 8.2+ (#2252) 2025-04-01 15:01:38 -04:00
Steven Silvester
894782e1b3
PYTHON-5255 Fix OIDC allowed_hosts test (#2251) 2025-04-01 12:19:06 -05:00
Steven Silvester
9ff5a1755c
PYTHON-3674 Simplify transaction options in convenient API doc example code (#2230) 2025-03-31 19:26:18 -05:00
Steven Silvester
711a45a0e9
PYTHON-4938 Clarify write concern rules in the transactions spec (#2231) 2025-03-31 19:23:32 -05:00
Noah Stapp
a3f3ec52bc
PYTHON-4946 - Add GridFSBucket.rename_by_name (#2219) 2025-03-31 14:02:06 -04:00
Noah Stapp
8675a163df
PYTHON-4947 - GridFS spec: Add performant 'delete revisions by filena… (#2218) 2025-03-31 09:07:53 -04:00
Steven Silvester
58a41ae7f5
PYTHON-4020 Drivers should unpin connections when ending a session (#2239) 2025-03-28 15:31:56 -05:00
Noah Stapp
c326161379
PYTHON-4933 - Allow drivers to set bypassDocumentValidation: false on… (#2227) 2025-03-28 15:56:37 -04:00
Noah Stapp
e51ad27d20
PYTHON-4493 - Use asyncio protocols instead of sockets for network IO (#2151)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-28 15:02:40 -04:00
Noah Stapp
f3ca1e0372
PYTHON-4833 - Add Collection bulk_write benchmarks (#2245) 2025-03-28 13:48:46 -04:00
Steven Silvester
0c6f84642c
PYTHON-4942 & PYTHON-4936 Test that isClientError considers network errors and operations may be an empty array (#2236) 2025-03-27 13:09:09 -05:00
Steven Silvester
4e5166b29a
PYTHON-3712 Deprecate sharded-replicaset topology type and clean up redundant runOnRequirements (#2232) 2025-03-26 17:39:10 -05:00
Noah Stapp
2c1a1608f2
PYTHON-5169 - Deprecate Hedged Reads option (#2213)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-25 17:00:19 -04:00
Iris
eea8a37257
PYTHON-3636 AsyncMongoClient should perform SRV resolution lazily (#2191)
Co-authored-by: Noah Stapp <noah@noahstapp.com>
Co-authored-by: Shane Harvey <shane.harvey@mongodb.com>
2025-03-25 13:45:06 -07:00
Noah Stapp
43fa11cb80
PYTHON-4939 - Sync CSOT runCursorCommand test (#2221) 2025-03-25 13:46:44 -04:00
Noah Stapp
fa5e637da8
PYTHON-4937 - Add support for 'number' alias in $$type operator (#2223) 2025-03-25 11:01:07 -04:00