Bernie Hackett
792b7626dc
PYTHON-1021 - Support git describe based server versions
2015-12-15 13:33:23 -08:00
aherlihy
a3cf3cf568
PYTHON-1031 - GridFsBucket.download_to_stream now uses GridOutIterator
2015-12-15 15:28:20 -05:00
Bernie Hackett
08a668f36d
PYTHON-1019 - GridIn must use ReadPreference.PRIMARY
2015-12-07 11:23:06 -08:00
Luke Lovett
29df784185
PYTHON-989 - Fix find_one_and_write_concern test when run with authentication.
2015-11-18 16:50:55 -08:00
Bernie Hackett
0d274781db
Fix a test for MongoDB 3.2 change
2015-11-18 16:41:10 -08:00
Luke Lovett
cbf4b770e4
PYTHON-472 - Fix raw BSON tests when run with authentication.
2015-11-18 16:16:31 -08:00
Bernie Hackett
58781f12d6
PYTHON-1014 - Minor test fix
2015-11-18 15:31:54 -08:00
aherlihy
ab400361cc
PYTHON-1014 - Unrecognized $ operators now included in find command
2015-11-18 15:04:36 -08:00
Bernie Hackett
b93c10504c
PYTHON-985 - Fix cursor test for is_mongos changes
2015-11-18 15:02:38 -08:00
aherlihy
596f80fc8d
PYTHON-985 - MongoClient properties now block until connected
2015-11-18 15:02:38 -08:00
Luke Lovett
e4d3392f90
PYTHON-472 - Add a RawBSONDocument class that decodes its comprising bytes only on-demand.
...
This provides an API for inserting and returning raw BSON.
2015-11-18 15:00:09 -08:00
Luke Lovett
504d4b206c
PYTHON-989 - Don't use unsatisfiable write concern in tests against non-replica sets.
2015-11-18 14:20:14 -08:00
Luke Lovett
7f14b69c3c
PYTHON-989 - Check for write concern errors when using the findAndModify command.
2015-11-18 14:20:14 -08:00
aherlihy
894775c70c
Prohibit bypass_document_validation with w=0
2015-11-18 14:17:56 -08:00
aherlihy
ab6b3a3b1b
Add support for maxAwaitTimeMS to getMore
2015-11-18 14:17:56 -08:00
aherlihy
44872948a4
Revised partial index tests for new explain format
2015-11-18 14:17:56 -08:00
Luke Lovett
393ed35866
PYTHON-981 - Apply collection-level read concern to *_map_reduce and aggregate when appropriate.
2015-11-18 14:17:56 -08:00
aherlihy
f5b44ea35f
PYTHON-982 - Support bypassDocumentValidation
2015-11-18 14:17:56 -08:00
aherlihy
9364abe46a
PYTHON-990 - Support partial indexes
2015-11-18 14:12:28 -08:00
Luke Lovett
2942d50c34
PYTHON-989 - Support write concern in find_and_modify, find_one_and_XXX.
2015-11-18 14:12:28 -08:00
Luke Lovett
dde4a658b5
PYTHON-981 - Implement ReadConcern.
2015-11-18 14:12:28 -08:00
aherlihy
5396444f3c
PYTHON-978 - Use killCursors command
2015-11-18 12:57:48 -08:00
aherlihy
497998dbd6
Skip find monitoring tests for > 3.1.5
2015-11-18 12:57:47 -08:00
aherlihy
1a3aeea426
PYTHON-978 - Use find/getMore commands
2015-11-18 12:57:47 -08:00
Bernie Hackett
01eb25b2b0
PYTHON-979 - Update fsyncUnlock helper for command monitoring
2015-11-18 12:57:47 -08:00
Bernie Hackett
ec47de71f2
PYTHON-979 - Update currentOp helper for command monitoring
2015-11-18 12:57:47 -08:00
Bernie Hackett
cab20bd7f1
PYTHON-1011 - Raise DocumentTooLarge when appropriate
2015-11-16 15:33:13 -08:00
Bernie Hackett
c7c2567a8d
Clean up read preference tests
2015-10-16 17:24:34 -07:00
A. Jesse Jiryu Davis
06b32a00ab
PYTHON-1003 Test _list_collections uses one socket at a time.
2015-10-16 17:06:06 -04:00
Bernie Hackett
52ebf27413
Remove arbitrary wtimeout from gridfs tests
2015-10-15 21:02:13 -07:00
Bernie Hackett
101f704744
PYTHON-952 - Redact command and reply documents for sensitive commands
2015-10-11 14:19:16 -07:00
Bernie Hackett
5c9f97e66c
PYTHON-952 - Fix global tests when auth is enabled
2015-10-11 09:48:24 -07:00
Bernie Hackett
6c494079a7
PYTHON-952 - Minor test fix
2015-10-09 17:59:23 -07: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
Luke Lovett
22c79ac0f6
PYTHON-999 - Update SDAM tests and fix related failures.
2015-10-07 11:55:35 -07:00
Bernie Hackett
519f0682c5
Fix a bulk operations test for MongoDB 3.2 behavior change
2015-10-05 14:44:49 -07:00
Bernie Hackett
a2a83c005f
PYTHON-952 - Publish events for uses of _first_batch
2015-09-30 10:14:04 -07:00
Bernie Hackett
62e180ac2b
PYTHON-952 - More robust delete_many / remove tests
2015-09-23 17:41:49 -07:00
Bernie Hackett
0558e4b3a4
PYTHON-996 - More aggressively lower recursion limit
2015-09-23 16:42:42 -07:00
Bernie Hackett
40e0d9d14b
PYTHON-996 - Work around overflow handling change in python 3.5
2015-09-23 16:11:11 -07:00
Bernie Hackett
4bbe2133a1
PYTHON-996 - Adjust regex tests for python 3.5
2015-09-22 15:17:50 -07:00
Bernie Hackett
b2a6fc61fd
Improve socket_closed test
2015-09-21 14:18:19 -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
Bernie Hackett
f5eed9707c
Fix up profiling tests for MongoDB 3.1.x
2015-09-11 16:28:36 -07:00
Bernie Hackett
173046ef01
PYTHON-952 - Avoid killCursors in tests
2015-09-10 11:33:31 -07:00
Bernie Hackett
e89a60afe4
PYTHON-952 - Make tests more predictable
2015-09-10 10:20:32 -07:00
Bernie Hackett
b80fa6d632
PYTHON-952 - Bulk write operations monitoring
...
This change adds monitoring of bulk write operations (i.e.
Collection.bulk_write, Collection.insert_many, Collection.insert with multiple
documents, Bulk.execute, etc.). It also fixes bugs in conversion of legacy
write results to write command result format and conversion of legacy queries
to find command documents. Finally, it adds an operation_id attribute to the
published events to tie related events together.
2015-09-10 09:10:19 -07:00
Bernie Hackett
a331fa9ff2
PYTHON-977 - Don't use b() on master
2015-09-04 18:38:14 -07:00
Luke Lovett
d5d1d03a3d
PYTHON-977 - avoid 'b' string prefix for Python version compatibility in tests.
2015-09-04 16:04:52 -07:00