Commit Graph

135 Commits

Author SHA1 Message Date
Steven Silvester
5204e87ca2
PYTHON-5002 Add guard to synchro hook to accidental overwrite (#2026) 2024-12-04 09:35:06 -06:00
Noah Stapp
bc66598623
PYTHON-4965 - Consolidate startup and teardown tasks (#2017) 2024-12-02 12:17: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
Noah Stapp
fa263dc87d
PYTHON-4847 - Convert test.test_collection_management.py to async (#1916) 2024-10-15 15:48:05 -04:00
Noah Stapp
3855effbd8
PYTHON-4842 - Convert test.test_create_entities to async (#1919) 2024-10-15 15:16:42 -04:00
Iris
33163ecc0d
PYTHON-4804 Migrate test_comment.py to async (#1887) 2024-10-11 16:02:13 -07:00
Noah Stapp
4eeaa4b7be
PYTHON-4848 - Convert test.test_command_monitoring.py to async (#1917) 2024-10-11 14:56:43 -04:00
Noah Stapp
b2332b2aae
PYTHON-4846 - Convert test.test_command_logging.py to async (#1915) 2024-10-11 13:59:49 -04:00
Noah Stapp
e0fde23381
PYTHON-4850 - Convert test.test_crud_unified to async (#1920) 2024-10-11 13:59:44 -04:00
Noah Stapp
7e86d24c7b
PYTHON-4849 - Convert test.test_connection_logging.py to async (#1918) 2024-10-11 13:59:37 -04:00
Noah Stapp
6973d2d274
PYTHON-4528 - Convert unified test runner to async (#1913) 2024-10-11 11:02:06 -04:00
Noah Stapp
3a662291e0
PYTHON-4700 - Convert CSFLE tests to async (#1907) 2024-10-11 10:48:24 -04:00
Noah Stapp
c2338d879b
PYTHON-4839 - Convert test.test_collation to async (#1911) 2024-10-10 16:38:25 -04:00
Noah Stapp
d1e4167dc9
PYTHON-4841 - Convert test.test_common to async (#1912) 2024-10-10 13:47:14 -04:00
Noah Stapp
5fa4380324
PYTHON-4784 - Add tests to confirm async parallelism (#1886) 2024-10-09 10:44:41 -04:00
Noah Stapp
b111cbf5d5
PYTHON-4636 - Avoid blocking I/O calls in async code paths (#1870)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2024-10-03 15:18:33 -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
bfba5481a0
PYTHON-4789 Migrate test_retryable_reads.py to async (#1877) 2024-10-01 09:16:26 -07:00
Iris
8791aa00ea
PYTHON-4790 Migrate test_retryable_writes.py to async (#1876) 2024-10-01 08:39:57 -07:00
Shane Harvey
821811e80d
PYTHON-4782 Fix deadlock and blocking behavior in _ACondition.wait (#1875) 2024-09-30 16:24:07 -07:00
Jeffrey A. Clark
083359f95f
PYTHON-1714 Add c extension use to client metadata (#1874) 2024-09-30 18:09:57 -05:00
Steven Silvester
3ef565fa43
PYTHON-4796 Update type checkers and handle with_options typing (#1880) 2024-09-30 18:01:53 -05:00
Noah Stapp
7742b7f24f
PYTHON-4797 - Convert test.test_raw_bson to async (#1882) 2024-09-30 14:14:12 -04:00
Noah Stapp
d0772f2161
PYTHON-4773 - Async PyMongo Beta docs update (#1868) 2024-09-18 17:09:20 -05:00
Iris
0c0633da23
PYTHON-4763 Migrate test_change_stream.py to async (#1853) 2024-09-16 10:20:34 -07:00
Iris
ead3201a4e
PYTHON-4733 Migrate test_auth.py to async (#1838) 2024-09-09 11:35:34 -07:00
Steven Silvester
c883012b56
PYTHON-4703 MongoClient should default to connect=False on FaaS environments (#1844) 2024-09-06 15:38:58 -05:00
Iris
bf329add7c
PYTHON-4732 Migrate test_auth_spec.py to async (#1836) 2024-09-06 08:57:32 -07:00
Iris
25f724badb
PYTHON-4727 Migrate test_monitoring.py to async (#1834) 2024-09-05 13:09:43 -07:00
Noah Stapp
6e9bf1e4a8
PYTHON-4708 - Convert test.qcheck to async (#1832) 2024-09-05 10:20:32 -04: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
Iris
ba8a139e72
PYTHON-4651: Migrate test_client_context.py to async (#1819) 2024-09-03 11:18:58 -07:00
Noah Stapp
3840d9dd0f
Add script to help convert sync tests to async tests (#1825) 2024-09-03 13:26:11 -04:00
Noah Stapp
e6b95f6595
PYTHON-4673 - Add Async Encryption Tests (#1818) 2024-08-29 10:02:47 -04:00
Noah Stapp
e430d2e2fa
PYTHON-4662 - Capture Async PyMongo metadata (#1814) 2024-08-28 08:31:42 -04:00
Noah Stapp
b8213f2817
PYTHON-4698 Rename the async ClientEncryption to AsyncClientEncryption (#1816) 2024-08-27 10:50:44 -04:00
Steven Silvester
f69d330b25
PYTHON-4654 Clean up Async API to match Motor (#1789) 2024-08-13 19:17:45 -05:00
Noah Stapp
a232b657d0
PYTHON-4613 Skip async tests when testing eventlet/gevent (#1780) 2024-08-12 10:23:43 -07:00
Shruti Sridhar
d08fec6342
PYTHON-4550 Add MongoClient.bulk_write API (#1745) 2024-08-06 11:10:01 -07:00
Noah Stapp
f7da1172cb
PYTHON-4592 - Synchronize inline examples and docstrings (#1756) 2024-08-02 12:02:28 -07:00
Noah Stapp
d79eee51ba
PYTHON-4521 Example transition of an existing test to an async one (#1702) 2024-07-30 15:09:45 -07:00
Noah Stapp
a5c0db66a1
PYTHON-4589 - Add async API docs (#1755) 2024-07-30 13:18:40 -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
b6f72adb21
PYTHON-4533 - Convert test/test_sessions.py to async (#1733) 2024-07-16 12:58:01 -07:00
Noah Stapp
1b3dea3f03
PYTHON-4533 - Convert test/test_transactions.py to async (#1732) 2024-07-15 16:45:59 -07:00
Noah Stapp
d0193eb045
PYTHON-4533 - Convert test/test_client.py to async (#1730) 2024-07-10 13:15:13 -07:00
shruti-sridhar
f5b102ab2a
PYTHON-4525 Transition the existing test_database.py test to be asynchronous (#1716) 2024-07-02 17:03:10 -07:00
Noah Stapp
cfa215c185
PYTHON-4530 - Move synchronized test code into top-level test directory (#1718) 2024-07-02 08:59:39 -07:00
Noah Stapp
b035c9ce65
PYTHON-4520 Add test-async tox command and automated async testing (#1699) 2024-06-26 12:21:00 -07:00