Prashant Mital
0b375a2604
PYTHON-2295 MongoClient with multiple hosts directConnection=True should raise an error ( #446 )
2020-07-01 10:53:52 -07:00
Shane Harvey
bfd297f1ea
PYTHON-2271 Add MongoDB 4.0, 4.2, 4.4 to perf benchmark
2020-07-01 10:48:45 -07:00
Julius Park
67a23429ba
PYTHON-1787: add details to OperationFailure exception and NotMasterError ( #448 )
...
PYTHON-1787-add details to OperationFailure and NotMasterError by adding a __repr__ function
https://jira.mongodb.org/browse/PYTHON-1787
2020-06-30 12:30:28 -04:00
Shane Harvey
58aaede0fe
PYTHON-2281 Properly reduce keep alive time on Windows
2020-06-25 15:31:33 -07:00
Julius Park
815c924bc3
PYTHON-2136: added more diagnostic information for ServerSelectionTimeoutError ( #444 )
...
* PYTHON-2136: added more diagnostic information for ServerSelectionTimeoutError
* made error message more human readable
* fixed tests
* fixed remaining testcase
* fixed formatting
* more formatting fixes
2020-06-25 17:04:04 -04:00
Bernie Hackett
e608ff4166
PYTHON-2192 - Use krb5's canonicalization algorithm
2020-06-25 11:26:14 -07:00
Shane Harvey
a90f80436c
PYTHON-2103 Test that GridFS supports indexes created in the shell
2020-06-24 11:34:27 -07:00
Shane Harvey
e07366a4ad
PYTHON-2255 Reduce default keepalive time to 120 seconds to align with Azure defaults
2020-06-24 10:59:34 -07:00
Shane Harvey
18de676657
PYTHON-2297 Close connection to avoid resource warning when auth fails ( #443 )
2020-06-24 09:56:56 -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
74202455aa
PYTHON-2278 Fix Jython SDAM test failures
2020-06-16 15:55:21 -07:00
Shane Harvey
70fb1cce95
PYTHON-2293 Fix OCSP test script for Windows
2020-06-16 15:39:06 -07:00
Prashant Mital
69dde9ebfe
PYTHON-2285 Only start kill cursors background thread if/when the client connects to the MongoDB deployment
2020-06-16 15:14:31 -07:00
Shane Harvey
aeb0bd74de
BUMP 3.11.0b2.dev0
2020-06-09 10:04:03 -07:00
Shane Harvey
8fdda6857f
BUMP 3.11.0b1
2020-06-09 09:42:03 -07:00
Shane Harvey
6d2f2b516e
PYTHON-2144 Test OCSP on macOS and Windows
...
Add ECDSA testing on Ubuntu.
ECDSA certs are not supported on macOS/Windows, only test RSA.
Log error message when OCSP HTTP request fails.
Remove nohup which does not work on macOS.
2020-06-09 09:31:17 -07:00
Shane Harvey
4c56ead955
PYTHON-2149 Test PyOpenSSL with all MongoDB versions
2020-06-08 20:07:01 -07:00
Shane Harvey
f058508751
PYTHON-2266 Test MONGODB-AWS and OCSP with 4.4
...
Remove debian71 and ubuntu-12.04 which no longer exist in Evergreen
2020-06-08 20:06:04 -07:00
Prashant Mital
6932d25639
PYTHON-2253 raise client-side error when allowDiskUse is specified with MongoDB <= 3.2
2020-06-08 18:25:19 -07:00
Prashant Mital
0743c0b222
PYTHON-2121 add directConnection URI option
2020-06-08 15:11:55 -07:00
Shane Harvey
9a9f42bb99
PYTHON-2236 Reset the server pool only after marking the server Unknown
2020-06-08 11:48:44 -07:00
Shane Harvey
fbafa9c847
PYTHON-2138 Fix NameError: name 'AwsSaslContext' is not defined
2020-06-05 16:23:29 -07:00
Shane Harvey
903643b3d0
PYTHON-2138 Use pymongo-auth-aws for MONGODB-AWS support
2020-06-05 15:50:26 -07:00
Shane Harvey
719b025d11
PYTHON-2254 Fix Cursor.clone with various options
...
This change adds support for cloning cursors with: "empty", "show_record_id",
"return_key", "allow_disk_use", "snapshot", and "exhaust".
2020-06-05 12:17:53 -07:00
Prashant Mital
4be82828f9
PYTHON-2208 Revise issues and help sections of documentation
2020-06-05 11:04:18 -07:00
Shane Harvey
4966d934a5
PYTHON-2182 Use namespace returned from find command in getMore
2020-06-04 19:47:04 -07:00
Shane Harvey
5b49557c59
PYTHON-2268 Close clients in test suite
2020-06-03 17:05:59 -07:00
Prashant Mital
4760d07815
PYTHON-2152 Expand native UUID handling support; Implement UUID specification
2020-06-01 17:45:08 -07:00
Shane Harvey
29960237dc
PYTHON-2260 Include Python.h before any standard headers
2020-05-27 15:07:31 -07:00
Shane Harvey
0eace78cf4
PYTHON-2158 Support speculative authentication attempts in connection handshake
2020-05-19 11:20:23 -07:00
Shane Harvey
45a7963aac
PYTHON-2082 Retryable writes use the RetryableWriteError label
...
Use retryable write logic for transaction commit/abort.
Do not assign the TransientTransactionError label to errors outside a
transaction.
2020-05-19 10:49:28 -07:00
Shane Harvey
48df9b088f
PYTHON-2109 Avoid 30 second stalls in TestSocketError
...
Reduce run time of test_timeout_does_not_mark_member_down.
2020-05-13 17:36:52 -07:00
Shane Harvey
2c631faa6c
PYTHON-2239 Avoid 30 second stalls in TestMongoClientFailover
2020-05-13 16:53:34 -07:00
Shane Harvey
33c93223b1
PYTHON-1651 Publish CommandFailedEvent when bulk write fails with a network error
2020-05-12 14:42:27 -07:00
Shane Harvey
fb7533e888
PYTHON-2099 Make ExceededTimeLimit a retryable writes error
...
Reinstate DuplicateKey code assertions.
2020-05-12 14:41:11 -07:00
Shane Harvey
a4f38d7d6e
PYTHON-2168 Ensure that the WriteConcernError "errInfo" object is propagated
2020-05-12 11:59:03 -07:00
Shane Harvey
9f8468f309
PYTHON-2037 Test operations omit default write concern
2020-05-08 17:48:07 -07:00
Shane Harvey
5d8e814e58
PYTHON-2237 Use sort when verifying contents of outcome collections
2020-05-08 14:24:20 -07:00
Shane Harvey
5efdcb88e2
PYTHON-2185 Deprecate geoHaystack in create_index(es)
2020-05-08 10:09:21 -07:00
Shane Harvey
6e39ae04c3
PYTHON-2170 Add support for 4.4 hedged reads
2020-05-07 17:26:00 -07:00
Shane Harvey
8747837dbd
PYTHON-2032 listIndexes no longer includes "ns" as of MongoDB 4.4
2020-05-06 11:49:10 -07:00
Shane Harvey
ae5c03df17
PYTHON-2173 Update comment in with_transaction example for the docs manual
2020-05-06 11:38:53 -07:00
Shane Harvey
1c2a575950
PYTHON-2221 Resync SDAM error handling spec tests
2020-05-04 15:03:16 -07:00
Shane Harvey
d8342367a9
PYTHON-2214 Tolerate StaleConfig errors in test_create_collection
2020-04-29 11:43:10 -07:00
Shane Harvey
07c834ea3e
PYTHON-2218 Fix race in test_last_write_date
2020-04-29 11:43:07 -07:00
Shane Harvey
7099e1be8b
PYTHON-2199 Reduce race conditions in SDAM error handling
...
Use Pool.generation and topologyVersion to reduce race conditions
SDAM error handling.
Implement SDAM error handling spec tests.
2020-04-28 16:47:13 -07:00
Shane Harvey
4c727fd9c0
PYTHON-2158 Support mechanism negotiation on the connection handshake
2020-04-28 16:43:48 -07:00
Shane Harvey
71d1227932
PYTHON-2115 Remove threading.Lock() from SocketChecker
2020-04-28 16:41:56 -07:00
Shane Harvey
9cc3652ec3
PYTHON-2186 create_indexes raises an error with commitQuorum on <4.4
2020-04-28 13:33:24 -07:00
Shane Harvey
58317a4c09
PYTHON-2215 Fix failing partialFilterExpression test on 4.5-latest
2020-04-27 15:47:26 -07:00