Commit Graph

1939 Commits

Author SHA1 Message Date
Shane Harvey
656aa1e703 Pin transactions to a single server address 2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
6671ee242c Parse sessionOptions from tests, not transactionOptions 2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
b41c2af3a0 Enable session.abort_transaction() 2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
3177616f53 Re-sync spec tests from #e9791101 2018-04-16 09:57:45 -04:00
Shane Harvey
cd92850b36 Test changing transaction readPreference
Add original readPreference to getMores to simplify code check.
2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
17d94ea8af fix bulkWrite transaction test, import transactional write tests 2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
c305f14e18 cache Query/GetMore.as_command, send stmtId with commit/abortTransaction
fix comparison of insertedIds in test_transactions.py
2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
54ba1b34f3 rewrite how ClientSession handles _ServerSession 2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
00878a2f53 new logic for error scenarios 2018-04-16 09:57:45 -04:00
A. Jesse Jiryu Davis
9df87b6401 prototype transaction tests 2018-04-16 09:57:45 -04:00
Bernie Hackett
04de1697cb PYTHON-1436 - Automate Atlas connectivity tests 2018-04-09 17:04:15 -07:00
Bernie Hackett
73478106eb PYTHON-1463 - Implement read / write concern spec 2018-04-06 12:55:09 -07:00
Bernie Hackett
8f7aa361a5 PYTHON-1487 - Resync GriFS spec tests 2018-04-05 15:12:52 -07:00
Bernie Hackett
1c7085d371 PYTHON-1458 - Make MD5 digest optional in GridFS 2018-03-30 18:59:19 -07:00
Bernie Hackett
5423c5b0a0 PYTHON-1465 - Agg, cmd, and index examples for docs 2018-03-30 16:49:34 -07:00
Bernie Hackett
f847be3fcb PYTHON-1502 - Deprecate the snapshot cursor option 2018-03-22 08:47:34 -07:00
Bernie Hackett
5b9257644f PYTHON-1464 - Implement SCRAM-SHA-256 2018-03-06 17:54:40 -08:00
Bernie Hackett
00968e5bb1 PYTHON-1457 - Implement SASLprep 2018-03-06 17:54:40 -08:00
Bernie Hackett
3733971e35 PYTHON-1456 - Use SSLContext.check_hostname with Python 3.7+
Continue using our bundled match_hostname otherwise.
2018-03-06 17:25:49 -08:00
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