Commit Graph

2997 Commits

Author SHA1 Message Date
Noah Stapp
2c432b580b
PYTHON-4768 - Fix atlas connection tests and cleanup uses of raw MongoClients in tests (#1867) 2024-09-18 09:23:07 -04:00
Steven Silvester
6d472a10a1
PYTHON-4738 Skip encryption test_fork on PyPy (#1865) 2024-09-17 20:00:06 -05:00
Iris
c136684047
PYTHON-4585 Cursor.to_list does not apply client's timeoutMS setting (#1860) 2024-09-17 13:38:24 -07:00
Noah Stapp
163e3d4a0d
PYTHON-4738 - Make test_encryption.TestClientSimple.test_fork sync-only (#1862) 2024-09-17 12:56:03 -04:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests (#1855) 2024-09-17 09:22:17 -04:00
Iris
0c0633da23
PYTHON-4763 Migrate test_change_stream.py to async (#1853) 2024-09-16 10:20:34 -07:00
Iris
0ca926ccfa
PYTHON-4753 [Build Failure] Async tests missing awaits (#1851) 2024-09-12 08:59:57 -07:00
Noah Stapp
039db2f20a
PYTHON-4590 - Make type guards more compatible (#1850) 2024-09-11 08:46:44 -04:00
Iris
ead3201a4e
PYTHON-4733 Migrate test_auth.py to async (#1838) 2024-09-09 11:35:34 -07:00
Noah Stapp
e683b81bf4
PYTHON-4739 - Use AsyncBulkTestBase in Async TestEncryptedBulkWrite (#1846) 2024-09-09 11:05:04 -04:00
Steven Silvester
f6a418f590
PYTHON-4182 Unskip test_unpin_after_TransientTransactionError_error_on_abort on latest (#1847) 2024-09-09 09:44:03 -05:00
Steven Silvester
c883012b56
PYTHON-4703 MongoClient should default to connect=False on FaaS environments (#1844) 2024-09-06 15:38:58 -05:00
Shane Harvey
6bdaf19c78
PYTHON-4617 Skip unified retryable writes tests on MMAPv1 (#1841) 2024-09-06 10:46:10 -07:00
Shane Harvey
1eb3b8550e
PYTHON-4735 Resync SDAM tests to fix TestUnifiedLoggingLoadbalanced (#1839) 2024-09-06 10:20:29 -07:00
Steven Silvester
22b66b2ed6
PYTHON-4695 Fix test event loop policy and improve error traceback for ClientBulkWriteException (#1828) 2024-09-06 12:17:47 -05:00
Shane Harvey
4e102235ad
PYTHON-4560 Disable rsSyncApplyStop tests on 8.0+ (#1840) 2024-09-06 10:16:38 -07:00
Iris
bf329add7c
PYTHON-4732 Migrate test_auth_spec.py to async (#1836) 2024-09-06 08:57:32 -07:00
Shane Harvey
29bbf77dad
PYTHON-4607 Use LogRecord.getMessage() not LogRecord.message (#1837) 2024-09-05 14:18:48 -07:00
Iris
25f724badb
PYTHON-4727 Migrate test_monitoring.py to async (#1834) 2024-09-05 13:09:43 -07:00
Iris
2742a000c4
PYTHON-4730 Fix Failing Async Bulk Tests (#1831) 2024-09-05 09:05:24 -07:00
Noah Stapp
6e9bf1e4a8
PYTHON-4708 - Convert test.qcheck to async (#1832) 2024-09-05 10:20:32 -04:00
Steven Silvester
4d4813070d
PYTHON-4667 Handle $clusterTime from error responses in client Bulk Write (#1822) 2024-09-04 19:40:37 -05:00
Shane Harvey
653ea8b8d2
PYTHON-4164 Document support for KMIP delegated master_key (#1830) 2024-09-04 14:53:21 -07:00
Iris
b37fb91896
PYTHON-4704 Migrate test_bulk.py to async (#1827) 2024-09-04 10:36:35 -07:00
Noah Stapp
4e74c8274e
PYTHON-4669 - Update Async GridFS APIs for Motor Compatibility (#1821) 2024-09-04 08:58:14 -04:00
Noah Stapp
5a49ccc759
PYTHON-4590 - Add type guards to async API methods (#1820) 2024-09-04 08:57:59 -04:00
Noah Stapp
5a70039ad2
PYTHON-4701 - Topology logging should use suppress_event (#1826) 2024-09-03 16:57:41 -04:00
Iris
ba8a139e72
PYTHON-4651: Migrate test_client_context.py to async (#1819) 2024-09-03 11:18:58 -07:00
Noah Stapp
e6b95f6595
PYTHON-4673 - Add Async Encryption Tests (#1818) 2024-08-29 10:02:47 -04:00
Shane Harvey
a2059dc9cb
PYTHON-4663 Fix compatibility with dateutil timezones (#1812) 2024-08-28 14:20:55 -07:00
Noah Stapp
c6967ab139
PYTHON-3472 - Add log messages to SDAM spec (#1771)
Co-authored-by: Jib <Jibzade@gmail.com>
2024-08-28 14:48:49 -04:00
Shane Harvey
28697df6f8
PYTHON-4691 Fix non-UTC timezones with DATETIME_CLAMP/DATETIME_AUTO (#1811) 2024-08-28 11:39:03 -07:00
Steven Silvester
9d3b5033fa
PYTHON-3967 SDAM unit test sharded/too_new needs to defined wireVersions for host b (#1817) 2024-08-28 07:38:43 -05:00
Noah Stapp
e430d2e2fa
PYTHON-4662 - Capture Async PyMongo metadata (#1814) 2024-08-28 08:31:42 -04:00
Steven Silvester
fd0787a57b
PYTHON-4615 Address sign-compare warning, improve array_of_documents_to_buffer validation (#1804) 2024-08-27 19:05:15 -05:00
Steven Silvester
f4392041b2
PYTHON-4692 Skip TestClientBulkWriteCSOT on MacOS and Windows (#1810) 2024-08-26 14:39:48 -05:00
Steven Silvester
7ee08ddbe6
PYTHON-4672 Clarify Reauthentication and Speculative Authentication combination behavior (#1802)
Co-authored-by: Jib <Jibzade@gmail.com>
2024-08-23 14:57:07 -05:00
Shane Harvey
4eae7d2d94
PYTHON-4690 Add repr for FixedOffset eg FixedOffset(datetime.timedelta(seconds=3600), '+60')) (#1806) 2024-08-23 09:50:05 -07:00
Shruti Sridhar
4dde30147c
PYTHON-4671 Skip client.bulk_write tests on Atlas Serverless (#1807) 2024-08-22 14:06:02 -07:00
Steven Silvester
7295fe17b7
PYTHON-4226 Add Projection with aggregation expressions example (#1803) 2024-08-21 14:28:55 -05:00
Shruti Sridhar
4024a1b85d
PYTHON-4668 Improve performance of client.bulk_write (#1800) 2024-08-20 17:18:28 -07:00
Shruti Sridhar
ad888797cf
PYTHON-4666 Fix handling of large documents in client.bulk_write (#1798) 2024-08-19 12:57:57 -07:00
Steven Silvester
f16206cb89
PYTHON-4392 Support Range Indexes as GA (#1795) 2024-08-19 14:29:18 -05:00
Steven Silvester
efcecc9a7f
PYTHON-4648 Fix handling of event_loop_policy in tests (#1799) 2024-08-19 12:57:15 -05:00
Shruti Sridhar
ce5c5adb63
PYTHON-4578 Benchmark collection and client bulk write (#1796) 2024-08-16 14:45:32 -07:00
Shane Harvey
8b44bc4bf3
PYTHON-4150 Resync spec tests to bump maxWireVersion (#1787) 2024-08-16 14:14:07 -07:00
Shruti Sridhar
297dfe6aa3
PYTHON-4660 Fix AttributeError when MongoClient.bulk_write batch fails with InvalidBSON (#1792) 2024-08-15 14:13:00 -07:00
Steven Silvester
adf8817df8
PYTHON-4584 Add length option to Cursor.to_list for motor compat (#1791) 2024-08-14 13:13:56 -05:00
Steven Silvester
f69d330b25
PYTHON-4654 Clean up Async API to match Motor (#1789) 2024-08-13 19:17:45 -05:00
Shruti Sridhar
47b2257028
PYTHON-4641 Fix failure in async version of client bulk CSOT test (#1790) 2024-08-12 17:59:44 -07:00