Commit Graph

23 Commits

Author SHA1 Message Date
Iris
3e783f5489
PYTHON-5088 Convert test.test_max_staleness to async (#2105) 2025-01-31 12:13:21 -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
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
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff (#1399) 2023-10-19 11:56:22 -05:00
Iris
34da931b3a
PYTHON-3867 add types to topology.py (#1346) 2023-08-09 14:21:43 -07: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
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package (#844) 2022-02-07 19:33:41 -06:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 (#729)
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Shane Harvey
07c834ea3e PYTHON-2218 Fix race in test_last_write_date 2020-04-29 11:43:07 -07:00
Shane Harvey
a1b04628b9 PYTHON-1600 Avoid race condition in test_last_write_date 2019-03-15 12:40:02 -07:00
A. Jesse Jiryu Davis
91f2f973af PYTHON-1192 - Minimum maxStalenessSeconds is 90.
Revert code to parse "idleWritePeriodMillis" from ismaster, and revert
changes that allowed maxStalenessSeconds to be a float.
2016-11-22 13:19:34 -05:00
A. Jesse Jiryu Davis
14f626cb26 Factor Max Staleness and Server Selection tests 2016-11-21 12:48:15 -05:00
A. Jesse Jiryu Davis
f7dc88ca7f PYTHON-1188 - Skip test if no replset. 2016-11-17 16:47:20 +00:00
A. Jesse Jiryu Davis
066237d18c PYTHON-1185 - More maxStalenessSeconds tests. 2016-11-08 21:52:04 -05:00
A. Jesse Jiryu Davis
87708a2f96 PYTHON-1169 - Default maxStalenessSeconds is -1. 2016-11-08 21:52:04 -05:00
A. Jesse Jiryu Davis
5735cf49b1 PYTHON-1104 - Fix lastWriteDate parsing. 2016-11-08 21:52:04 -05:00
A. Jesse Jiryu Davis
497e316d34 PYTHON-1104 - Support idleWritePeriodMS. 2016-11-08 21:52:04 -05:00
A. Jesse Jiryu Davis
f4922da97c PYTHON-1104 - maxStalenessMS -> maxStalenessSeconds. 2016-11-08 21:52:04 -05:00
Bernie Hackett
5f16e33a6d PYTHON-1150 - Add maxStalenessMS to $readPreference 2016-09-19 11:09:41 -07:00
A. Jesse Jiryu Davis
5933730588 PYTHON-1104 Implement maxStalenessMS. 2016-07-22 14:12:40 -04:00
A. Jesse Jiryu Davis
7eb4568d28 Revert "Max staleness tests."
This reverts commit ef4798b257.
2016-06-20 16:34:36 -07:00
A. Jesse Jiryu Davis
ef4798b257 Max staleness tests. 2016-06-20 15:27:17 -07:00