Commit Graph

33 Commits

Author SHA1 Message Date
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
Jeffrey A. Clark
1c813dc648
PYTHON-4575 Allow valid SRV hostnames with less than 3 parts (#2234) 2025-04-04 13:09:04 -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
34ca759f85
PYTHON-5113 - Refactor test utils for async (#2149) 2025-03-12 12:59:56 -04:00
Iris
c42f3d6421
PYTHON-5079 Convert test.test_dns to async (#2096) 2025-01-31 08:43:35 -08:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests (#1855) 2024-09-17 09:22:17 -04: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
60f1a43efa
PYTHON-4353 Make dns import optional but required for tests (#1588) 2024-04-15 18:45:22 -05:00
Shane Harvey
578024e16a
PYTHON-3170 Run ping command in SRV spec tests (#1424) 2023-11-08 12:59:13 -08:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff (#1399) 2023-10-19 11:56:22 -05:00
Shane Harvey
1d7f2ea1c8
PYTHON-3800 Add test for SRV URI with uppercase hostname (#1293) 2023-07-07 10:15:52 -04:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting (#868) 2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter (#852) 2022-02-09 06:44:28 -06:00
Julius Park
bfa5aafb34
PYTHON-2832 Provide options to limit number of mongos servers used in connecting to sharded clusters (#754) 2021-10-26 14:47:51 -07:00
Julius Park
0fa86c8ee1
Removed directConnection workaround in SRV spec tests (#727) 2021-09-15 12:04:34 -07:00
Prashant Mital
b3118e034e
PYTHON-2162 Remove support for ssl* URI options (#706) 2021-08-19 14:58:31 -07:00
Bernie Hackett
c8d920a46b PYTHON-2795 Improve host parsing and error messages 2021-07-08 14:22:56 -07:00
Shane Harvey
2c41c6fe95
PYTHON-2671 Support loadBalanced URI option (#614)
Add workaround in test_dns until PYTHON-2679 is completed.
2021-05-05 12:51:05 -07:00
Shane Harvey
0535f5d829
PYTHON-2678 Resync SRV spec tests (#613)
Add support for validating parsed_options and running non-TLS tests.
2021-05-04 10:51:58 -07:00
Shane Harvey
84fd04ec6d
PYTHON-1852 Use TLS option names in test suite ClientContext (#442) 2020-06-18 18:24:08 -07:00
Prashant Mital
0743c0b222
PYTHON-2121 add directConnection URI option 2020-06-08 15:11:55 -07:00
Bernie Hackett
849a415356 PYTHON-2002 Re-enable dns/srv tests 2019-11-18 17:41:42 -08:00
Shane Harvey
bbf55d6da5 PYTHON-2039 Avoid shadowing dns module in srv tests 2019-11-06 10:42:45 -08:00
Shane Harvey
55f8df2141 PYTHON-2002 Skip failing dnspython seedlist tests on Python 2 2019-11-05 16:54:00 -08:00
Bernie Hackett
3dfd03c9eb PYTHON-1906 Skip new SRV test if dnspython isn't available 2019-07-17 07:06:17 -07:00
Bernie Hackett
a23ce28942 PYTHON-1761 Include fqdn or srv hosts in srv errors 2019-07-16 14:11:47 -07:00
Prashant Mital
f85a9f9450
PYTHON-1675 SRV polling for mongos discovery 2019-06-10 12:51:49 -07:00
Bernie Hackett
cb85eb02a2 PYTHON-1563 - Avoid import deadlocks in the test suite 2018-06-03 07:34:26 -07:00
Bernie Hackett
335cb97a34 PYTHON-1278, PYTHON-1553 - Support OP_COMPRESSED 2018-05-22 11:44:21 -07:00
Bernie Hackett
e42897e79e PYTHON-1418 - More spec updates 2017-11-29 10:52:05 -08:00
Bernie Hackett
a689aa63ca PYTHON-1418 - Update initial DNS seedlist implementation for spec changes 2017-11-17 15:35:21 -08:00
Bernie Hackett
732b0f15df PYTHON-1378 - Implement DNS seedlist discovery 2017-10-19 13:53:02 -07:00