Steven Silvester
ffb372aec7
PYTHON-5027 Test Windows with Python 3.14t ( #2444 )
2025-07-24 13:20:19 -05:00
Steven Silvester
0b2900d162
PYTHON-5413 Handle flaky tests ( #2395 )
2025-07-01 15:42:58 -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
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
34ca759f85
PYTHON-5113 - Refactor test utils for async ( #2149 )
2025-03-12 12:59:56 -04:00
Iris
150a3ba756
PYTHON-5078 Convert test.test_discovery_and_monitoring to async ( #2093 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-03-03 10:14:04 -08:00
Iris
0e6aa6fa15
PYTHON-5073 Convert test.test_connection_monitoring to async ( #2087 )
2025-02-11 14:01:39 -08:00
Iris
1f7f8a9e0f
PYTHON-5081 Convert test.test_gridfs to async ( #2099 )
2025-02-11 10:27:43 -08:00
Noah Stapp
3dd44e6e5f
PYTHON-5087 - Convert test.test_load_balancer to async ( #2103 )
2025-02-06 10:07:24 -05:00
Noah Stapp
0a1471d8f9
PYTHON-5084 - Convert test.test_heartbeat_monitoring to async ( #2100 )
2025-01-30 16:29:52 -05:00
Noah Stapp
0e8d70457f
Async client uses tasks instead of threads
...
PYTHON-4725 - Async client should use tasks for SDAM instead of threads
PYTHON-4860 - Async client should use asyncio.Lock and asyncio.Condition
PYTHON-4941 - Synchronous unified test runner being used in asynchronous tests
PYTHON-4843 - Async test suite should use a single event loop
PYTHON-4945 - Fix test cleanups for mongoses
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
2024-11-26 16:55:27 -05:00
Shane Harvey
18940030f1
PYTHON-4921 Eliminate unnecessary killCursors command when batchSize == limit ( #2004 )
2024-11-18 10:25:20 -08:00
Shane Harvey
0733c4da44
PYTHON-4925 Fix test bugs in $$matchAsDocument and $$matchAsRoot ( #1988 )
...
Fixes a bug where the driverConnectionId field was missing from "server heartbeat failed" log messages.
Avoids sending "upsert": False since various client.bulkWrite spec tests assume this field is only sent when it's True.
2024-11-05 12:19:51 -08:00
Steven Silvester
6f4258c1cd
PYTHON-4576 Allow update to supply sort option ( #1881 )
2024-10-16 16:41:14 -05:00
Noah Stapp
3a662291e0
PYTHON-4700 - Convert CSFLE tests to async ( #1907 )
2024-10-11 10:48:24 -04:00
Iris
af23139b4a
PYTHON-4805 Migrate test_connections_survive_primary_stepdown_spec.py to async ( #1889 )
2024-10-03 10:27:22 -07:00
Iris
8791aa00ea
PYTHON-4790 Migrate test_retryable_writes.py to async ( #1876 )
2024-10-01 08:39:57 -07:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests ( #1855 )
2024-09-17 09:22:17 -04:00
Shruti Sridhar
d08fec6342
PYTHON-4550 Add MongoClient.bulk_write API ( #1745 )
2024-08-06 11:10:01 -07:00
Noah Stapp
f0e025a127
PYTHON-4533 - Convert test/test_cursor.py to async ( #1731 )
2024-07-16 13:55:11 -07:00
Noah Stapp
d0193eb045
PYTHON-4533 - Convert test/test_client.py to async ( #1730 )
2024-07-10 13:15:13 -07:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively ( #1678 )
2024-06-26 10:12:39 -07:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta ( #1629 )
2024-06-06 09:01:24 -07:00
Steven Silvester
49987e6a8a
PYTHON-4441 Use deferred imports instead of lazy module loading ( #1648 )
2024-05-30 16:40:23 -05:00
Steven Silvester
e37394d402
PYTHON-2723 Convert transactions spec tests to unified test format ( #1543 )
2024-03-26 17:28:32 -05:00
Noah Stapp
b041ca5f7c
PYTHON-4022 - Ensure ServerHeartbeatStartedEvents are emitted before connecting ( #1542 )
2024-03-05 07:53:53 -08:00
Noah Stapp
ebb94b669e
PYTHON-3457 Easier debugging with standardized logging ( #1515 )
...
PYTHON-3458 Add command logging.
PYTHON-3459 Add server selection logging.
PYTHON-3473 Add connection pool logging.
PYTHON-4167 Add documentation and examples.
Co-authored-by: sleepyStick <itsirisho@gmail.com>
2024-02-15 11:35:08 -08:00
Steven Silvester
d99a095b33
PYTHON-4205 Fix TestDataLakeProse.test_3 ( #1519 )
2024-02-09 19:41:47 -06: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
c4e4bd638f
PYTHON-3175 Preemptively cancel in progress operations when SDAM heartbeats timeout ( #1465 )
2024-01-19 10:55:10 -08:00
Noah Stapp
5dc60342ed
PYTHON-2834 Direct read/write retries to another mongos if possible ( #1421 )
2023-11-14 12:49:42 -08:00
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide ( #1414 )
2023-11-01 19:37:22 -05:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05:00
Shane Harvey
4c00227c1d
PYTHON-3668 Use polling SDAM mode on FaaS and add sdamMode=auto/stream/poll ( #1360 )
...
Disable streaming SDAM by default on AWS Lambda and similar FaaS platforms.
Introduce the serverMonitoringMode=stream/poll/auto URI option.
Add Unified Test Format version 1.17 to add support for server heartbeat events.
2023-10-12 13:19:16 -07:00
Iris
02a365276c
PYTHON-3806 add types to message.py ( #1312 )
2023-08-02 20:11:25 -07:00
Noah Stapp
c88ae79e58
PYTHON-3879 Rename SocketInfo to Connection ( #1329 )
2023-07-28 10:04:16 -07:00
Noah Stapp
b16e06acfd
PYTHON-3727 Use tox for unit tests and switch to pytest ( #1249 )
2023-06-21 15:07:14 -07:00
Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Shane Harvey
deb0566c3e
PYTHON-3614 Support Queryable Encryption protocol v2 on 7.0+ ( #1197 )
...
Resync FLE spec tests and update docs for new QE protocol on 7.0.
Add client side error for createEncryptedCollection on MongoDB < 7.0.
KMS timeout errors should always have exc.timeout==True.
PYTHON-3583 Drivers should not create the ECC collection in v2 of queryable encryption.
2023-05-01 09:16:28 -07:00
Shane Harvey
79aa5e6757
PYTHON-3516 Improve test EventListener api ( #1114 )
2022-11-14 08:50:08 -08:00
Julius Park
92e6150d84
PYTHON-3493 Bulk Write InsertOne Should Be Parameter Of Collection Type ( #1106 )
2022-11-10 14:19:55 -08:00
Julius Park
9083821300
PYTHON-3454 Specifying a generic type for a collection does not correctly enforce type safety when inserting data ( #1081 )
2022-11-01 14:33:21 -07:00
Shane Harvey
85f0987e1d
PYTHON-3400 Only use new electionId/setVersion logic on 6.0+
2022-10-05 13:02:15 -07:00
Julius Park
c874c96e29
PYTHON-3232 Improved change stream event visibility for C2C Replication ( #1062 )
2022-09-27 15:31:20 -07:00
Shane Harvey
a0a5c7194d
PYTHON-3405/PYTHON-2531 Fix tests for primary step down ( #1041 )
2022-08-18 15:38:09 -07:00
Ben Warner
3204290e93
PYTHON-2484 Added lock sanitization for MongoClient and ObjectId ( #985 )
2022-08-04 16:58:56 -07:00
Shane Harvey
db3f2dca05
PYTHON-2459 Implement unified GridFS tests ( #1012 )
2022-07-19 15:01:41 -07:00
Julius Park
484374eb3f
PYTHON-3298 Add flag to create_collection to skip listCollections pre-check ( #1006 )
2022-07-18 13:40:16 -07:00
Steven Silvester
d2b95d1bf0
PYTHON-3336 Test Failure - test_load_balancer failing ( #1000 )
2022-07-08 19:40:25 -05:00
Julius Park
02a9df69f6
PYTHON-3227 Clustered Indexes for all Collections ( #971 )
2022-06-15 13:16:22 -07:00