Shane Harvey
9cecbb2ae5
PYTHON-1491 Skip failing OP_KILL_CURSORS test
2018-02-28 13:05:05 -08:00
Shane Harvey
79a327b752
PYTHON-1474 Return cursor sessions as quickly as possible
...
Return implicit sessions to the pool as soon as the cursor is exhausted
instead of waiting for garbage collection.
2018-02-27 16:03:25 -08:00
Shane Harvey
3c6ffb895e
PYTHON-1471 Disable failing arbiter tests on MongoDB latest
2018-02-27 09:45:56 -08:00
Shane Harvey
0e6b425870
PYTHON-1475 Create shallow copy of session pool before iteration
2018-02-26 16:04:02 -08:00
Shane Harvey
5f3f398ff1
PYTHON-1415 Fail CI when test suite cannot connect
2018-02-26 15:50:56 -08:00
Bernie Hackett
4fa72033dd
PYTHON-1488 - Fix auth tests for MongoDB 3.7
2018-02-26 15:32:55 -08:00
Shane Harvey
b86c1e6019
PYTHON-1482 Fix monotonic time import for Python 2
...
Add changelog for 3.6.1
2018-02-21 17:01:03 -08:00
Shane Harvey
251df6abd1
PYTHON-1482 Fix maxIdleTime reaper calculation
2018-02-21 17:01:03 -08:00
Shane Harvey
77804b1aed
PYTHON-1422 Don't update a closed topology
2018-02-20 14:12:32 -08:00
Bernie Hackett
585d0fbd4f
PYTHON-1470 - Fix test_create for 3.7+ mongos
2018-02-20 13:46:48 -08:00
Bernie Hackett
1736f702a0
PYTHON-1469 - Ignore unexpected error fields in tests
2018-02-20 13:46:48 -08:00
Shane Harvey
0779443c9d
PYTHON-1428 Respect maxPoolSize when minPoolSize is set
2018-02-13 16:37:26 -08:00
Bernie Hackett
cacc0ab877
PYTHON-1459 - Remove uses of the forceerror command
2018-02-13 09:59:23 -08:00
Bernie Hackett
ba7c95a9df
PYTHON-1462 - Import ABCs from collections.abc
2018-02-12 19:42:44 -08:00
Bernie Hackett
ad348a2e0b
PYTHON-1277 - Port benchmark tests to Evergreen
2018-02-12 19:30:19 -08:00
aherlihy
6656b7c985
Add performance tests
2018-02-12 19:30:19 -08:00
Bernie Hackett
6391d0b499
PYTHON-1455 - Fix fsync test for Python 3.7+
2018-02-12 19:24:09 -08:00
Bernie Hackett
be629bd884
PYTHON-1441 - Ignore batchSize in agg with $out stage
2018-02-12 19:20:26 -08:00
Bernie Hackett
8929080e7a
PYTHON-1445 PYTHON-1446 PYTHON-1448 - More examples
2018-02-12 19:13:44 -08:00
rdb
077fb2041a
Allow fields to be a set ( #347 )
...
Add test cases for set and tuple projection arguments.
2018-02-12 11:33:36 -08:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Shane Harvey
2a05236f61
PYTHON-1332 Only gossip cluster time on >= 3.6.
...
Do not add readConcern to explain.
Test explain with collation.
2017-11-30 14:53:14 -08:00
Shane Harvey
b628fcbae2
Fully compare write results in check_result.
2017-11-29 11:15:38 -08:00
Bernie Hackett
e42897e79e
PYTHON-1418 - More spec updates
2017-11-29 10:52:05 -08:00
Shane Harvey
e554d6116c
PYTHON-1419 Call endSessions on MongoClient.close.
2017-11-28 14:26:25 -08:00
Shane Harvey
8416c73ca7
PYTHON-1421 Ensure Server monitor threads are (re)opened.
2017-11-28 11:56:13 -08:00
Shane Harvey
47302096f9
PYTHON-1339 Retryable multi-statement writes.
...
MongoClient with retryWrites=true works when the cluster does not support retryable writes.
2017-11-20 12:18:00 -08:00
Bernie Hackett
a689aa63ca
PYTHON-1418 - Update initial DNS seedlist implementation for spec changes
2017-11-17 15:35:21 -08:00
Shane Harvey
b669cd86dc
PYTHON-1332 Session may only be used by the client that started it.
...
Centralize $clusterTime receiving.
2017-11-17 09:27:21 -08:00
Bernie Hackett
99aefd6847
PYTHON-1413 - Restrict when we add readConcern
2017-11-16 19:12:23 -08:00
Shane Harvey
8c3c56218b
PYTHON-1414 Jython takes a long time to connect.
...
Raise Jython memory limit for enterprise auth tests.
2017-11-16 13:42:47 -08:00
Bernie Hackett
ae24c4c8b3
PYTHON-1406 - Fix causal test failures
2017-11-14 10:00:40 -08:00
Shane Harvey
47cab04f49
PYTHON-1407 Exclude non-data bearing servers when considering logicalSessionTimeoutMinutes
2017-11-14 09:35:05 -08:00
Bernie Hackett
b878ed60ca
PYTHON-1409 - Improve server compatibility error messages
2017-11-13 15:03:47 -08:00
Shane Harvey
49cee292cc
PYTHON-1408 Cursor iteration should complete when another thread closes the cursor.
...
Closing a cursor should not raise an error when killCursors fails.
2017-11-13 13:08:38 -08:00
Bernie Hackett
6507d263b9
PYTHON-1398 - Raw batch methods do not support sessions
2017-11-10 10:02:29 -08:00
Shane Harvey
6c8f5a2fee
PYTHON-1332 Remove session workaround for createUser.
...
parallel_scan does use implicit sessions.
2017-11-09 19:39:27 -08:00
Bernie Hackett
7ab179067b
PYTHON-1299 - More test cleanup
2017-11-09 18:53:29 -08:00
Bernie Hackett
4eda4ffaec
PYTHON-1340 - Implement causally consistent reads
2017-11-09 17:16:55 -08:00
Bernie Hackett
1227f5544d
PYTHON-1280 - Support maxTimeMS in index management methods
2017-11-09 15:57:50 -08:00
Bernie Hackett
036188a832
PYTHON-1385 - Publish command responses in _first_batch
2017-11-09 10:24:18 -08:00
Shane Harvey
95d42a857b
PYTHON-1405 Test ChangeStreams on mongos.
2017-11-08 16:05:52 -08:00
Shane Harvey
ba0c528380
PYTHON-1338 Add readConcern ChangeStream test.
2017-11-08 16:04:53 -08:00
Shane Harvey
cb52e93212
PYTHON-1401 Always test CRUD spec test "result".
...
aggregate $out cursors return no documents.
2017-11-08 12:59:45 -08:00
Shane Harvey
280efd2d72
PYTHON-1339 Generate a single message in _do_batched_write_command.
...
Ordered op_insert should check for errors on the last insert.
Use _Bulk API for Collection.insert.
Avoid sending acknowledged inserts as much as possible.
max_cmd_size already accounts for trailing null bytes.
2017-10-31 16:59:26 -04:00
Shane Harvey
8b1aa3aafa
PYTHON-1339 Retryable single-statement writes.
...
Add retryWrites MongoClient and URI setting.
Retry once for supported single-statement write operations including:
insert_one, update_one, delete_one, find_one_and_update, find_one_and_replace,
find_one_and_delete, update and remove with multi=False, and find_and_modify.
2017-10-30 14:23:16 -04:00
Shane Harvey
5b5128c773
PYTHON-1394 Close ChangeStream cursor when the resume token is missing.
2017-10-30 10:28:46 -04:00
Shane Harvey
4d2825b0af
PYTHON-1372 Avoid using RawBSONDocument in ChangeStream.
2017-10-30 10:28:46 -04:00
Bernie Hackett
c5c29200c7
PYTHON-1393 - Change streams examples for docs
2017-10-27 19:35:49 -07:00
Bernie Hackett
822ae0f6c6
PYTHON-1391 - Only use bare except: when re-raising
2017-10-27 13:45:25 -07:00