Commit Graph

4023 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
116d2c278f Update _finish_transaction()
Check if the session is ended, and always increment txnNumber.
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
Mateusz Piotrowski
d672c40524 Stylize GitHub correctly (#351)
Fix a link to PyMongo GitHub source
2018-04-06 13:30:32 -07:00
Bernie Hackett
cb2c67eadd PYTHON-1515 - Add MongoDB 3.4 benchmarks 2018-04-06 13:26:20 -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
3cd6f32e7c PYTHON-1509 - Update auth docs for SCRAM-SHA-256 2018-03-30 19:17:35 -07:00
Bernie Hackett
6c09ce0a1e PYTHON-1454 - Document the status of MONGODB-CR in MongoDB 2018-03-30 19:05:14 -07:00
Bernie Hackett
1c7085d371 PYTHON-1458 - Make MD5 digest optional in GridFS 2018-03-30 18:59:19 -07:00
Bernie Hackett
0b72e369f3 PYTHON-1501 - Deprecate max_scan 2018-03-30 18:58:03 -07:00
Bernie Hackett
5423c5b0a0 PYTHON-1465 - Agg, cmd, and index examples for docs 2018-03-30 16:49:34 -07:00
Bernie Hackett
15f62db70c Remove SUSE 11 from CI testing
It ships OpenSSL 0.9.8, which doesn't support
TLS 1.2, making it impossible to install packages
from PyPI once all previous protocols are disabled.
2018-03-22 17:03:27 -07:00
Bernie Hackett
f847be3fcb PYTHON-1502 - Deprecate the snapshot cursor option 2018-03-22 08:47:34 -07:00
Shane Harvey
a30eb87db3 PYTHON-1495 Document PythonAnywhere incompatibility 2018-03-08 13:00:08 -08:00
Bernie Hackett
f3cec2b7b2 PYTHON-1496 - Support Sphinx 1.7 2018-03-06 20:30:11 -08: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
Bernie Hackett
e2332fb5f2 PYTHON-1494 - Test PyPy 3.5 in Evergreen 2018-03-06 15:52:58 -08:00
Bernie Hackett
fd68e161fe PYTHON-1461 - Test Python 3.7 in Evergreen 2018-03-06 15:52:58 -08:00
Bernie Hackett
1e9296abf2 Start work on 3.7 2018-03-06 15:52:08 -08:00
Shane Harvey
a9e2192919 BUMP 3.6.1 2018-02-28 19:00:09 -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
Bernie Hackett
e7e4833112 PYTHON-1485 - Strongly encourage the use modern TLS protocols 2018-02-27 12:55:32 -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
0aefc6c19b PYTHON-1434 Update max cluster time even when heartbeats fail 2018-02-26 11:00:00 -08:00
Shane Harvey
1fa894d757 PYTHON-1434 Don't resend client metadata on the same socket 2018-02-26 11:00:00 -08:00
Bernie Hackett
2c932dfe77 PYTHON-1477 PYTHON-1478 PYTHON-1480 - Doc improvements 2018-02-22 17:14:28 -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
A. Jesse Jiryu Davis
37778bac3e PYTHON-1479 - Don't add projection to "find" cmd twice, 2 2018-02-21 17:59:06 -05: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
A. Jesse Jiryu Davis
2ad6117af2 PYTHON-1479 - Don't add projection to "find" cmd twice 2018-02-16 09:46:47 -05:00
Shane Harvey
0779443c9d PYTHON-1428 Respect maxPoolSize when minPoolSize is set 2018-02-13 16:37:26 -08:00