Prashant Mital
3c8b78348d
PYTHON-2866 Setting tlsDisableOCSPEndpointCheck=false must enable OCSP endpoint check
...
(cherry picked from commit fe1d19dea4 )
2021-08-16 12:18:12 -07:00
Shane Harvey
6a18027db8
PYTHON-2534 Avoid race in test_pool_paused_error_is_retryable ( #704 )
2021-08-16 10:27:37 -07:00
Shane Harvey
65aa7c86d5
PYTHON-2850 Remove map_reduce/inline_map_reduce ( #703 )
2021-08-12 09:44:52 -07:00
Shane Harvey
10002fad1c
PYTHON-2857 Remove the socketKeepAlive option ( #702 )
2021-08-10 14:00:41 -07:00
Shane Harvey
e1b068d37a
PYTHON-2525 Remove Collection.count and Cursor.count ( #700 )
2021-08-10 13:52:29 -07:00
Shane Harvey
c663fb69cc
PYTHON-2856 Properly assert 0 events in snapshot reads tests ( #697 )
...
expectEvents must be non-empty if present.
2021-08-09 12:50:15 -07:00
Shane Harvey
e3a61b9ff7
PYTHON-1840 Remove waitQueueMultiple and ExceededMaxWaiters ( #699 )
2021-08-09 10:53:28 -07:00
Shane Harvey
be47e4ca14
PYTHON-2532 Remove modifiers option for find methods ( #696 )
2021-08-09 10:02:36 -07:00
Shane Harvey
5fd175c0d8
PYTHON-2529 Remove UUIDLegacy ( #698 )
2021-08-06 16:52:41 -07:00
Shane Harvey
369d175993
PYTHON-2430 Remove all helpers in the message module ( #695 )
2021-08-06 13:33:21 -07:00
Shane Harvey
93a042f2e8
PYTHON-2235 Remove pymongo.GEOHAYSTACK ( #694 )
2021-08-06 13:13:23 -07:00
Shane Harvey
edda903b5b
PYTHON-2711 Remove profile command helpers ( #693 )
2021-08-06 12:54:52 -07:00
Shane Harvey
3e02957998
PYTHON-2288 Finish removing IsMaster from docs
2021-08-06 12:33:26 -07:00
Shane Harvey
69dee51b90
PYTHON-1318 Remove initialize_unordered_bulk_op and initialize_ordered_bulk_op ( #692 )
...
PYTHON-2436 Unskip test_large_inserts_ordered on MongoDB 5.0.
2021-08-05 17:58:15 -07:00
Shane Harvey
3513ab72b0
PYTHON-2528 Remove Database.current_op
2021-08-04 11:14:50 -07:00
Shane Harvey
f541e7731c
PYTHON-2602 Test that pool paused errors are retryable ( #681 )
...
Allow client_knobs to be used as a decorator.
2021-07-30 17:56:01 -07:00
Shane Harvey
97a84e199e
PYTHON-2697 Fix races in various CMAP spec tests ( #685 )
2021-07-29 17:25:15 -07:00
Prashant Mital
f86b2c6bf8
PYTHON-2827 Versioned API migration example for ecosystem docs ( #687 )
2021-07-29 17:17:22 -07:00
Prashant Mital
f3486d7ad7
PYTHON-2842 Integration tests for observeSensitiveCommands field ( #684 )
2021-07-29 15:32:53 -07:00
Prashant Mital
3f8c104157
PYTHON-2288 Remove IsMaster ( #690 )
2021-07-29 10:32:51 -07:00
Prashant Mital
0209e4a4a4
PYTHON-2571 Remove NotMasterError ( #688 )
2021-07-28 16:01:32 -07:00
Shane Harvey
7acb58be81
PYTHON-2750 Don't mark arbiter pools ready unless directly connected ( #682 )
2021-07-28 11:30:16 -07:00
Prashant Mital
f07da34f97
PYTHON-2545 Test Atlas Serverless ( #664 )
2021-07-27 16:35:09 -07:00
Shane Harvey
c93194a2e6
PYTHON-2838 Skip getlasterror test on >=5.0
2021-07-23 12:24:55 -07:00
Shane Harvey
01e34cebdb
PYTHON-2769 Test redaction of replies to security-sensitive commands ( #676 )
...
Resync command monitoring and unified test format tests.
Redact entire hello response when the command started contained speculativeAuthenticate.
Make OP_REPLY cursor.cursor_id always be an Int64.
2021-07-15 14:12:11 -07:00
Shane Harvey
9a4c64f325
Revert "PYTHON-2809 Skip Jython serverless test"
...
This reverts commit 72206a07d1 .
2021-07-13 09:47:51 -07:00
Shane Harvey
72206a07d1
PYTHON-2809 Skip Jython serverless test
2021-07-13 09:44:22 -07:00
Shane Harvey
da49bd88a2
PYTHON-2806 Fix test_aggregate_raw_transaction ( #673 )
2021-07-12 16:54:50 -07:00
Shane Harvey
6d1ebf4597
PYTHON-2798 Workaround windows cert issue with SSL_CERT_FILE ( #670 )
2021-07-12 14:17:01 -07:00
Prashant Mital
948ebb27f4
PYTHON-2800 Add Atlas connectivity tests for MongoDB Serverless ( #669 )
2021-07-12 11:04:29 -07:00
Shane Harvey
834500de56
PYTHON-2608 Test that KMS TLS connections verify peer certificates ( #667 )
...
Use bash for all evergreen scripts.
2021-07-09 13:24:09 -07:00
Shane Harvey
98b64ee76b
PYTHON-2096 Validate that mongocryptd is not spawned if bypassAutoEncryption=true ( #668 )
2021-07-09 11:01:54 -07:00
Bernie Hackett
c8d920a46b
PYTHON-2795 Improve host parsing and error messages
2021-07-08 14:22:56 -07:00
Prashant Mital
00ed2321ba
PYTHON-2475 Implement Atlas Data Lake prose specification tests ( #665 )
...
* PYTHON-2475 Add prose specification tests for Atlas Data Lake
* add prose tests
* Update evergreen config to bootstrap ADL
* add sleep before connecting to ADL
* print buildinfo
* print buildInfo in conditional block
* refactor skiplogic
* remove sleep
* fix debugging code
* Ensure ADL tests run
* ensure suite fails if not connected
* fix test failure
* improve data_lake variable extraction
* review changes
2021-07-07 23:55:52 -07:00
Bernie Hackett
907bb7e3dc
PYTHON-2794 Fix up dots and dollars spec tests
2021-07-06 13:43:14 -07:00
Shane Harvey
fd845654fb
PYTHON-2776 Disable writes and other unsupported operations in snapshot reads ( #660 )
...
Rely on the server to report an error for unsupported snapshot read
operations by sending readConcern with all commands, even writes.
2021-06-30 20:01:43 -07:00
Prashant Mital
0e0c4fd944
PYTHON-2389 Add session support to find_raw_batches and aggregate_raw_batches ( #658 )
2021-06-30 19:14:22 -07:00
Shane Harvey
b823b95de1
PYTHON-2791 Ignore erroneous serviceId field for non-LB connections ( #663 )
2021-06-30 18:31:00 -07:00
Prashant Mital
b991185fd7
PYTHON-2715 Use hello command for monitoring when supported ( #654 )
2021-06-30 13:21:44 -07:00
Shane Harvey
4152600ae6
PYTHON-2777 Raise client side error for snapshot reads on <5.0 ( #659 )
2021-06-29 14:40:48 -07:00
Shane Harvey
354c96a414
PYTHON-2779 Fix topologies field in snapshot reads test ( #657 )
2021-06-28 15:11:52 -07:00
Shane Harvey
67ebd5cab4
PYTHON-2762 Remove duplicate unified sessions test
2021-06-25 16:24:30 -07:00
Shane Harvey
b4b7a07b81
PYTHON-2762 Avoid duplicating unified test files for LB testing ( #649 )
...
Create new client for each cursor/session __del__ test.
Always close cursors in spec tests.
2021-06-25 16:20:21 -07:00
Shane Harvey
14160aed04
PYTHON-2767 Support snapshot reads on secondaries ( #656 )
...
Add the MongoClient.start_session snapshot option.
2021-06-25 16:12:12 -07:00
Shane Harvey
a7921604f1
PYTHON-2768 Add SDAM and server selection spec tests for load balancers ( #655 )
2021-06-24 12:32:52 -07:00
Shane Harvey
ef6b06ce1f
PYTHON-2765 Fix test_exhaust failure due to OP_MSG and __del__ changes ( #653 )
2021-06-23 12:31:20 -07:00
Bernie Hackett
f11be6cfa6
PYTHON-2586 Changes to support Python 3.10
2021-06-23 11:21:41 -07:00
Shane Harvey
6bc5e088af
PYTHON-1272 Fix deadlock when garbage collecting pinned cursors and sessions ( #642 )
...
It's not safe to return the pinned connection to the pool from within
Cursor.del because the Pool's lock may be held by a python thread
while the cyclic garbage collector runs. Instead we send the cursor
cleanup request to the client's background thread. The thread will
send killCursors on the pinned socket and then return the socket to
the pool.
Also fixed a similar bug when garbage collecting a pinned session.
2021-06-22 17:29:26 -07:00
Shane Harvey
3ef01179a2
PYTHON-2764 Fix unified test coerce_result on unack writes ( #652 )
2021-06-22 17:25:05 -07:00
Shane Harvey
6bebaf9015
PYTHON-2757 PYTHON-2730 Resync command monitoring killCursors tests ( #643 )
2021-06-22 15:35:50 -07:00