Commit Graph

1685 Commits

Author SHA1 Message Date
A. Jesse Jiryu Davis
9ab7036db9 PYTHON-1105 More reliable heartbeatFrequencyMS test. 2016-07-08 21:07:38 -04:00
A. Jesse Jiryu Davis
a2f97f92a4 PYTHON-1105 Configurable heartbeatFrequencyMS. 2016-07-08 16:30:56 -04:00
Bernie Hackett
1ee5e27f9a Fix testing with no server 2016-06-24 10:28:18 -07:00
A. Jesse Jiryu Davis
7eb4568d28 Revert "Max staleness tests."
This reverts commit ef4798b257.
2016-06-20 16:34:36 -07:00
A. Jesse Jiryu Davis
893f2805ff Race in test_getters. 2016-06-20 15:27:17 -07:00
A. Jesse Jiryu Davis
2964f53423 Test failures with capitalized hostname. 2016-06-20 15:27:17 -07:00
A. Jesse Jiryu Davis
ef4798b257 Max staleness tests. 2016-06-20 15:27:17 -07:00
aherlihy
d931f2ddd0 Replaced sleep with wait_util in maxIdleTime/minPoolSize tests 2016-06-20 18:31:04 +02:00
Bernie Hackett
12bd4ac5ea PYTHON-1097 - Support GridFS custom file_id methods 2016-06-17 19:06:47 -07:00
Bernie Hackett
e1850d8abe PYTHON-988 - Deprecate cursor managers and kill_cursors 2016-06-17 10:08:14 -07:00
Bernie Hackett
53a7bea492 PYTHON-1022 - Drop support for Python 3.2
This change removes the u() helper from bson.py3compat
and all of its uses in the driver and tests. PyPy3 continues
to be supported since, even though it is based on python 3.2.5,
it has always supported the u string prefix.

The README and install docs are now explicit about PyPy(3) support.
2016-06-15 10:05:43 -07:00
aherlihy
d98a745700 PYTHON-1067 - Implement SDAM Monitoring 2016-06-14 15:20:19 +02:00
aherlihy
10608144d6 PYTHON-658 - Support minPoolSize, maxIdleTimeMS 2016-06-14 14:37:06 +02:00
Luke Lovett
ecab1c9432 PYTHON-1090, PYTHON-1098 - Use sane codec options when reading write responses.
When reading a write response from the server, we now use the 'replace'
unicode_decode_error_handler and 'dict' as the document_class.
2016-06-01 13:34:18 -07:00
Bernie Hackett
80fc55aae7 PYTHON-750 - Support cross realm GSSAPI tests 2016-05-26 16:23:53 -07:00
Bernie Hackett
fe6f485de8 Really test SERVICE_REALM 2016-05-26 16:23:53 -07:00
Bernie Hackett
0abfba6155 PYTHON-750 - Kerberos SSPI support for Windows 2016-05-26 16:23:53 -07:00
Bernie Hackett
db1dea6f73 PYTHON-1042 - Support client certificate passphrase 2016-05-26 14:59:42 -07:00
Bernie Hackett
d7abe6e7be PYTHON-1073 - Support certificate revocation lists 2016-05-24 11:47:49 -07:00
Bernie Hackett
59d8fdadc1 PYTHON-1058 - Support decoding datetime.isoformat format for $date
This change also adds support for the (+|-)HH offset format.
2016-05-20 13:12:47 -07:00
Bernie Hackett
1413bb0077 PYTHON-1087 - Fix __repr__ handling of *TimeoutMS=None 2016-05-19 15:19:27 -07:00
Bernie Hackett
36817ac0f6 Fix a racy test 2016-03-10 15:34:58 -08:00
Bernie Hackett
7ee852a00f PYTHON-1070 - Make index cache thread safe 2016-03-10 07:42:00 -08:00
Bernie Hackett
6c4e4b5a81 PYTHON-1065 - Support 1 for batch_size with MongoDB >= 3.2 2016-03-07 17:48:54 -08:00
Bernie Hackett
e873e272fe Fix a test for MongoDB 3.3 behavior change 2016-03-03 16:00:10 -05:00
Bernie Hackett
98dcaa2363 PYTHON-1056 - Disallow double quotes in database names 2016-03-02 16:25:50 -05:00
Sergey Ninua
1d81aea087 allow connect option to be passed as string 2016-03-02 15:43:07 -05:00
Bernie Hackett
ddbd2ddc25 PYTHON-1062 - Only use "textSearchEnabled" when testing MongoDB 2.4 2016-03-02 15:32:52 -05:00
Bernie Hackett
6a14d70120 PYTHON-1044 - Fix up unknown BSON type handing 2016-01-28 11:21:34 -08: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
Bernie Hackett
15a18aa785 Debug a spurious test failure 2016-01-08 16:42:55 -08:00
Bernie Hackett
e09ded21e0 Fix a test when running with WT 2016-01-08 15:38:30 -08:00
A. Jesse Jiryu Davis
c34eec8fad PYTHON-1036 use setVersion to detect stale primary 2015-12-23 17:22:43 -06:00
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