Commit Graph

17 Commits

Author SHA1 Message Date
Bernie Hackett
577c167c88 PYTHON-1546 - Update various spec tests and adjust runners 2018-06-04 15:44:13 -07:00
Shane Harvey
5a652be993 PYTHON-1508 Add read_preference to TransactionOptions
All read operations use the transaction's read preference.
Add transaction read preference spec tests.
Remove write test in test_read_preferences.
2018-05-08 11:38:28 -07:00
Bernie Hackett
1736f702a0 PYTHON-1469 - Ignore unexpected error fields in tests 2018-02-20 13:46:48 -08:00
Bernie Hackett
507f954ed4 Update copyright dates 2017-12-01 17:23:39 -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
3e778334e7 PYTHON-1299 Remove test logic for MongoDB <2.6. 2017-09-29 12:09:24 -07:00
A. Jesse Jiryu Davis
ece1321dbb Resync JSON tests from specs repo 2017-08-23 21:55:46 -04:00
Bernie Hackett
b12d6b72e7 PYTHON-1180 - Wait for killCursors success 2016-11-25 22:27:48 -05:00
Bernie Hackett
20baefae6d PYTHON-1180 - Easier debugging of command monitoring tests 2016-11-22 15:36:26 -05:00
aherlihy
d98a745700 PYTHON-1067 - Implement SDAM Monitoring 2016-06-14 15:20:19 +02:00
Bernie Hackett
46d9cf9d07 PYTHON-1041 - Update monitoring spec tests to latest
Also fix a number of bugs in the test runner.
2016-01-15 10:49:47 -08:00
Bernie Hackett
4bad518ccd Filter out killCursors in some monitoring tests 2016-01-12 16:27:20 -08:00
Luke Lovett
dde4a658b5 PYTHON-981 - Implement ReadConcern. 2015-11-18 14:12:28 -08:00
aherlihy
497998dbd6 Skip find monitoring tests for > 3.1.5 2015-11-18 12:57:47 -08:00
Bernie Hackett
28885b25e8 PYTHON-952 - API improvements
This commit implements the following simplifications and improvements:

- The Subscriber ABC has been renamed to CommandListener
- The subscribe function has been renamed to register
- The COMMAND constant has been removed
- The get_subscribers function has been removed
- Command listeners can now be registered per MongoClient instance
  instead of just globally
2015-10-09 17:03:51 -07:00
Bernie Hackett
dbcafc44f8 PYTHON-952 - Test improvements 2015-09-16 16:24:40 -07:00
Bernie Hackett
9556805bce PYTHON-952 - Add spec test runner and fix bugs 2015-09-16 12:52:40 -07:00