Prashant Mital
4cdd3450ac
PYTHON-1670: Implement Unified URI Options ( #386 )
2019-01-17 10:02:37 -08:00
Bernie Hackett
749c1a2f0b
PYTHON-1467 - PyMongo no longer supports Python 2.6
2018-07-02 15:15:43 -07:00
Bernie Hackett
709b28467f
PYTHON-1586 - Deprecate database_names and collection_names
2018-06-18 10:52:11 -07:00
Bernie Hackett
e6b0f3847d
PYTHON-1581 - Deprecate Collection/Cursor count
2018-06-18 10:50:26 -07:00
Bernie Hackett
8cc2f72e20
PYTHON-1471 - Reenable arbiter tests on 4.0 and latest
2018-06-04 13:54:38 -07:00
Bernie Hackett
3c36692f40
PYTHON-1532 - Clean up after test_lazy_connect_w0
2018-06-04 13:53:08 -07:00
A. Jesse Jiryu Davis
c63c068611
PYTHON-1564 Add DriverInfo to handshake metadata
...
Allow drivers that wrap PyMongo to add their info to the handshake
metadata, using a "driver" option like:
MongoClient(driver=DriverInfo("MyDriver", "1.2.3"))
The DriverInfo is appended to PyMongo's own metadata.
2018-06-03 10:04:45 -04:00
Bernie Hackett
335cb97a34
PYTHON-1278, PYTHON-1553 - Support OP_COMPRESSED
2018-05-22 11:44:21 -07:00
Bernie Hackett
984977ba9e
PYTHON-1425 - Implement the auth spec and tests
2018-04-25 10:25:00 -07: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
Shane Harvey
3c6ffb895e
PYTHON-1471 Disable failing arbiter tests on MongoDB latest
2018-02-27 09:45: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
251df6abd1
PYTHON-1482 Fix maxIdleTime reaper calculation
2018-02-21 17:01:03 -08:00
Shane Harvey
0779443c9d
PYTHON-1428 Respect maxPoolSize when minPoolSize is set
2018-02-13 16:37:26 -08:00
Bernie Hackett
6391d0b499
PYTHON-1455 - Fix fsync test for Python 3.7+
2018-02-12 19:24:09 -08:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Bernie Hackett
822ae0f6c6
PYTHON-1391 - Only use bare except: when re-raising
2017-10-27 13:45:25 -07:00
Bernie Hackett
5d05ad2748
PYTHON-1379 - Implement Database Enumeration spec
2017-10-24 13:24:56 -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
Shane Harvey
3e778334e7
PYTHON-1299 Remove test logic for MongoDB <2.6.
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
b273d94358
PYTHON-1299 - Use new wire version in tests
2017-08-24 08:57:36 -04:00
Shane Harvey
b00584b892
PYTHON-1353 Kill cursors synchronously in CommandCursor.close.
2017-08-15 14:58:44 -07:00
Shane Harvey
9468c119a3
PYTHON-1335 Improve __slots__ usage.
...
__slots__ must be defined in all classes in the hierarchy to avoid __dict__
and __weakref__ overhead.
2017-08-03 14:57:43 -07:00
A. Jesse Jiryu Davis
72e61277b2
Deprecate db.authenticate and db.eval
...
PYTHON-1313, and PYTHON-1315.
2017-08-01 16:30:42 -04:00
Shane Harvey
312408e041
PYTHON-1279 Deprecate socketKeepAlive and default to true.
...
Wherever possible set:
- keep-alive idle time to a maximum of 300 seconds.
- keep-alive interval time to a maximum of 10 seconds.
- keep-alive count to a maximum of 9 probes.
2017-08-01 12:34:42 -07:00
A. Jesse Jiryu Davis
75b2b1fc41
PYTHON-1327 - No credentials in repr(client)
2017-07-28 21:38:59 -04:00
A. Jesse Jiryu Davis
031559ebc5
PYTHON-1327 - Username and password kwargs
...
MongoClient now accepts username and password parameters. Before, the
only way to pass them was in the URI.
2017-07-28 15:20:23 -04:00
Michael Elovskikh
9f07ff35a1
PYTHON-1334 Don't change readpreference value at uri parsing ( #325 )
2017-07-25 17:43:51 -07:00
Shane Harvey
9388281795
PYTHON-1306 Deprecate MongoClient.get_default_database.
...
PYTHON-1304 Make name optional for MongoClient.get_database.
2017-07-25 17:16:34 -07:00
Shane Harvey
a9e84edb79
PYTHON-1270 Skip test_interrupt_signal with gevent and eventlet.
2017-07-24 09:13:17 -07:00
Shane Harvey
138255609e
PYTHON-1281 Use pool checkin time for socket idle time calculation.
2017-06-26 13:31:08 -07:00
Shane Harvey
6aaa1f71aa
PYTHON-1269 Kill cursors synchronously in Cursor.close and MongoClient.close.
2017-05-08 13:23:50 -04:00
Bernie Hackett
e8e77f5a2c
PYTHON-1227 - Don't use select.POLLNVAL
...
It causes problems with Jython and seems unnecessary
since we know the fd represents an open socket.
2017-03-27 17:16:37 -07:00
Bernie Hackett
b90295d806
PYTHON-1221 - Skip test_ipv6 with TLS and no ipaddress module
2017-02-17 13:55:50 -08:00
Bernie Hackett
9379a01277
PYTHON-1221 PYTHON-1208 - TLS test fixes
...
This change updates server.pem and crl.pem, and updates the test suite
expectations accordingly. It also works around the inability of python
2.6 to parse SANs properly.
2017-02-17 13:55:50 -08:00
Shane Harvey
d32d2ff7a5
PYTHON-1227 Disable various pool tests on Jython
2017-02-17 13:55:50 -08:00
Bernie Hackett
1995d8082b
PYTHON-1206 - Fix race in test_operation_failure
2017-02-17 13:55:50 -08:00
Shane Harvey
14a68ee9e6
PYTHON-1205 Use SIGALRM instead of interrupt_main on non-Windows
2017-02-17 13:55:50 -08:00
Shane Harvey
2abaa3d07a
PYTHON-1205 Disable test_interrupt_signal
2017-02-17 13:55:50 -08:00
Shane Harvey
e25a8d51fb
PYTHON-1206 Disable test_operation_failure
2017-02-17 13:55:50 -08:00
Shane Harvey
19160c9e76
PYTHON-1221 Disable test_client.test_ipv6
2017-02-17 13:55:50 -08:00
Shane Harvey
a3b05a0066
PYTHON-1207 Skip test_unix_socket when SSL is enabled
2017-02-17 13:55:50 -08:00
Bernie Hackett
677b9c8130
Remove test_client.TestClient.test_fork
...
PyMongo no longer supports the behavior that was tested. This
test was often causing deadlocks in CI.
2016-11-25 12:19:43 -05:00
Bernie Hackett
c1a7bdfd4e
PYTHON-1026 - Make test suite resilient against elections
2016-10-27 10:42:44 -07:00
Bernie Hackett
25fd33b089
PYTHON-1160 - Fix __repr__ for Unix domain sockets
2016-10-03 07:06:29 -07:00
Shane Harvey
5905a86785
PYTHON-1075 Support running the entire test suite with SSL/TLS
...
SSL connections are configurable via the environment variables
"CLIENT_PEM", "CA_PEM", and "CERT_REQS".
2016-09-28 16:34:14 -07:00
Bernie Hackett
e89ba4bcd0
PYTHON-1026 - Remove test assumption about primary host
2016-09-21 11:15:43 -07:00
Luke Lovett
b36a4345fd
PYTHON-1101 - Support sending writeConcern for commands that write.
2016-08-11 14:02:22 -07:00