Commit Graph

3895 Commits

Author SHA1 Message Date
Bernie Hackett
ffdcfd5809 PYTHON-1378 - Various fixes
- Don't use _escapify
- Always return str in python 3
- Further exception handling improvements
2017-10-24 13:21:42 -07:00
A. Jesse Jiryu Davis
dcd8f68994 PYTHON-1332 - send $clusterTime with isMaster 2017-10-23 18:01:59 -04:00
Bernie Hackett
5705b10d57 PYTHON-1378 - Fix DNS seedlist discovery with Eventlet
This change also adds Python 3 support for dnspython versions
back to 1.13.0, the first version to support Python 3.
2017-10-20 14:59:19 -07:00
Bernie Hackett
c84f73022b Fix mod_wsgi tests in Evergreen 2017-10-20 12:57:27 -07:00
Bernie Hackett
732b0f15df PYTHON-1378 - Implement DNS seedlist discovery 2017-10-19 13:53:02 -07:00
Shane Harvey
6721e0157b Revert "PYTHON-1299 Remove "safe" legacy messages."
This reverts commit da8fabc49a.
2017-10-12 12:14:33 -07:00
A. Jesse Jiryu Davis
df018e88e2 PYTHON-1332 - Gossip $clusterTime 2017-10-12 09:08:38 -04:00
Shane Harvey
f0b847adb8 PYTHON-1329 Refactor wire protocol message parsing.
Use _OpReply class instead of passing bytes around.
Remove unnecessary operation argument to receive message.
Move _first_batch to message.py to avoid circular import.
2017-10-09 15:11:50 -07:00
Bernie Hackett
1596c5d94d PYTHON-1390 - Switch CI OS to RHEL 6.2 2017-10-09 11:03:57 -07:00
TaoBeier
2847ef89f1 PYTHON-1388 fix docs example. (#338) 2017-10-06 10:27:14 -07:00
A. Jesse Jiryu Davis
dad61a058b PYTHON-1332 - Update session's last_use 2017-10-05 15:03:36 -04:00
Shane Harvey
d2f0ade371 PYTHON-1389 Fix aggregation doctests for MongoDB 3.5.13. 2017-10-04 10:22:40 -07:00
A. Jesse Jiryu Davis
889a36464f PYTHON-1332 - Sessions and multi-auth 2017-10-03 17:19:09 -04:00
A. Jesse Jiryu Davis
41096d5875 PYTHON-1332 - Check current user owns session 2017-10-02 12:05:11 -04:00
Bernie Hackett
410027c057 PYTHON-1387 - Improve detection of object_pairs_hook support 2017-09-30 09:28:09 -07:00
Shane Harvey
da8fabc49a PYTHON-1299 Remove "safe" legacy messages. 2017-09-29 12:09:24 -07:00
Shane Harvey
01bbf19462 PYTHON-1299 Remove fallback code from user and index management helpers. 2017-09-29 12:09:24 -07:00
Shane Harvey
3e778334e7 PYTHON-1299 Remove test logic for MongoDB <2.6. 2017-09-29 12:09:24 -07:00
Shane Harvey
7bae7fdd1c PYTHON-1299 Remove useCursor wire version check. 2017-09-29 12:09:24 -07:00
Shane Harvey
715cb0d27c PYTHON-1299 Remove acknowledged legacy writes.
Ordered unacknowledged bulk writes still use legacy writes and getLastError.
2017-09-29 12:09:24 -07:00
A. Jesse Jiryu Davis
3cba982db9 PYTHON-1332 - Test lsid with all commands 2017-09-29 14:52:26 -04:00
A. Jesse Jiryu Davis
fdf4436201 PYTHON-1332 - Send lsid with all commands 2017-09-29 14:52:26 -04:00
A. Jesse Jiryu Davis
6fa2e4047f PYTHON-1332 - Send lsid with all commands 2017-09-29 14:52:26 -04:00
A. Jesse Jiryu Davis
c1ec855060 PYTHON-1332 - Send lsid with all commands 2017-09-29 14:52:26 -04:00
gzcf
9051b65510 PYTHON-1299 fix Regex __eq__ method (#337) 2017-09-29 10:57:21 -07:00
A. Jesse Jiryu Davis
6c7d1aa408 Use w=1000 to test write concern errors 2017-09-18 13:35:51 -04:00
A. Jesse Jiryu Davis
200b699ba5 PYTHON-1332 - Prohibit using ended session 2017-09-14 23:21:43 -04:00
A. Jesse Jiryu Davis
25b00e43e8 PYTHON-1332 - Use SON for fsyncUnlock command
Ensures the command name remains the first key once lsid is added.
2017-09-14 09:00:31 -04:00
Shane Harvey
1ef21b7adc PYTHON-1370 Remove redundant auth/ssl testing. 2017-09-13 15:20:58 -07:00
A. Jesse Jiryu Davis
57b5a01b91 PYTHON-1332 - Use bytes in GridFS session test 2017-09-13 14:01:39 -04:00
A. Jesse Jiryu Davis
a4245ee649 Ensure TestGlobalListener cleans up
This test left unclean global state that broke sessions tests with auth
(PYTHON-1332).
2017-09-13 13:35:34 -04:00
A. Jesse Jiryu Davis
1a3962863d PYTHON-1332 - Refactor session + collection test 2017-09-12 22:19:08 -04:00
Shane Harvey
e775295ab5 PYTHON-1367 Ignore uuid_representation when decoding BSON binary subtype 4. 2017-09-12 17:20:14 -07:00
A. Jesse Jiryu Davis
e86742d27b PYTHON-1332 - Session param for GridFS methods
Also refactor session tests.
2017-09-12 16:27:54 -04:00
A. Jesse Jiryu Davis
ab3ab3fdaf PYTHON-1332 - Avoid fsync test on mongos 2017-09-12 11:09:11 -04:00
A. Jesse Jiryu Davis
cf23c113a4 PYTHON-1332 - Test user-admin commands + sessions 2017-09-11 17:50:55 -04:00
A. Jesse Jiryu Davis
9923be5509 Don't drop test user at end of tests 2017-09-11 17:50:07 -04:00
A. Jesse Jiryu Davis
afb6a931d7 PYTHON-1332 - Session param for client methods 2017-09-11 17:46:44 -04:00
A. Jesse Jiryu Davis
6ff5b78d72 PYTHON-1332 - Session for deref and profiling_info 2017-09-11 17:46:44 -04:00
A. Jesse Jiryu Davis
2487e9b71f PYTHON-1332 - Session param for Collection methods 2017-09-11 17:46:44 -04:00
A. Jesse Jiryu Davis
1057562df0 PYTHON-1332 - Update sessions tests for auth 2017-09-11 17:38:52 -04:00
A. Jesse Jiryu Davis
9327d0c5de PYTHON-1332 - Pass session to Database methods 2017-09-11 17:38:52 -04:00
A. Jesse Jiryu Davis
2bcddf96f6 PYTHON-1332 - db.command accepts session param 2017-09-11 17:38:52 -04:00
Shane Harvey
3d57cfecfe PYTHON-1342 Enable test_insert_large_batch. 2017-09-08 15:03:49 -07:00
Shane Harvey
14ce90906c PYTHON-1296 Support array_filters updates.
Sync crud tests.
2017-09-08 12:23:40 -07:00
caosiyang
db57f671dc PYTHON-1371 - The tailable cursor cannot get document through __getitem__(index) on MongoDB v3.4
Fix issue and add test case.
2017-09-08 11:45:11 -07:00
Shane Harvey
74605b73f6 PYTHON-1338 Support change stream API. 2017-09-07 17:12:45 -07:00
Shane Harvey
f0b18ccfc5 PYTHON-1364 Drop support for CPython 3.3. 2017-09-05 17:45:30 -07:00
Shane Harvey
35556acc29 PYTHON-1369 Reduce test frequency against Jython. 2017-09-05 17:45:30 -07:00
Shane Harvey
19928fc343 PYTHON-1368 Reduce test frequency against CPython 3.5. 2017-09-05 17:45:30 -07:00