mongo-python-driver/test
Shane Harvey a15266083b PYTHON-1674 Support retryable reads
Add retryReads URI option that defaults to True.
Supported read operations will be retried once after transient
network, election, and shutdown errors on MongoDB 3.6+.
Supported operations are:
listCollections, listIndexes, and listDatabases
distinct
count, estimated_document_count, count_documents
aggregate (not including $out)
find (only for the initial find command, getMore commands are not
retried).
ChangeStreams: watch (initial aggregate command).
GridFS read APIs.

Test changes:
Add retryable reads spec test runner.
Disable retryable reads in network error tests.
2019-04-25 14:28:12 -07:00
..
atlas PYTHON-1467 - PyMongo no longer supports Python 2.6 2018-07-02 15:15:43 -07:00
auth PYTHON-1425 - Implement the auth spec and tests 2018-04-25 10:25:00 -07:00
bson_corpus Ensure files end in a newline 2017-08-31 22:26:39 -07:00
certificates Trim trailing whitespace 2017-08-31 22:26:39 -07:00
change_streams PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355) 2018-06-21 12:22:59 -07:00
command_monitoring PYTHON-1546 - Update various spec tests and adjust runners 2018-06-04 15:44:13 -07:00
connection_string/test Fix UTF-8 hosts test 2017-08-23 22:45:20 -04:00
crud SPEC 1153: Adding readConcern support to aggregation with $out (#400) 2019-02-27 15:59:18 -08:00
discovery_and_monitoring PYTHON-1544 - Resync SDAM tests 2018-06-03 08:19:06 -07:00
dns PYTHON-1418 - More spec updates 2017-11-29 10:52:05 -08:00
gridfs PYTHON-1487 - Resync GriFS spec tests 2018-04-05 15:12:52 -07:00
max_staleness PYTHON-1192 - Minimum maxStalenessSeconds is 90. 2016-11-22 13:19:34 -05:00
mod_wsgi_test PYTHON-1467 - PyMongo no longer supports Python 2.6 2018-07-02 15:15:43 -07:00
performance PYTHON-1625 - Fix perf tests 2018-08-13 11:48:20 -07:00
read_write_concern PYTHON-1463 - Implement read / write concern spec 2018-04-06 12:55:09 -07:00
retryable_reads PYTHON-1674 Add retryable reads spec test files 2019-04-25 14:27:41 -07:00
retryable_writes PYTHON-1740 - retryWrites defaults to true 2019-03-06 16:32:53 -08:00
sdam_monitoring PYTHON-1067 - Implement SDAM Monitoring 2016-06-14 15:20:19 +02:00
server_selection Resync server selection and max staleness tests from the specifications repository. 2016-08-11 16:27:17 -07:00
transactions PYTHON-1816 Test writes in transactions are compatible with w=0 collection 2019-04-25 14:16:42 -07:00
transactions-convenient-api PYTHON-1794 Add runOn support to transaction tests 2019-04-02 13:15:08 -07:00
unicode Move time consuming utf8 tests out of the main suite 2018-06-24 20:45:59 -07:00
uri_options PYTHON-1722 Fix spec-test failures for the compression URI options (#391) 2019-02-27 15:56:48 -08:00
__init__.py PYTHON-1811 Deprecate running min/max queries without hint 2019-04-16 14:00:56 -07:00
pymongo_mocks.py PYTHON-1563 - Avoid import deadlocks in the test suite 2018-06-03 07:34:26 -07:00
qcheck.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_auth_spec.py PYTHON-1425 - Implement the auth spec and tests 2018-04-25 10:25:00 -07:00
test_auth.py PYTHON-1613 Invalidate cache on changed salt or iterations 2018-07-14 12:38:53 -07:00
test_binary.py PYTHON-1581 - Deprecate Collection/Cursor count 2018-06-18 10:50:26 -07:00
test_bson_corpus.py PYTHON-1536 - PyMongo no longer supports PyPy3 < 3.5 2018-07-03 12:44:40 -07:00
test_bson.py PYTHON-1664 Include type in InvalidDocument error 2019-04-19 16:51:04 -07:00
test_bulk.py PYTHON-1581 - Deprecate Collection/Cursor count 2018-06-18 10:50:26 -07:00
test_change_stream.py PYTHON-1792 More reliable tests for ChangeStream.try_next 2019-03-27 13:36:32 -07:00
test_client_context.py PYTHON-1773 Test against clusters with enableTestCommands=0 2019-03-14 16:24:36 -07:00
test_client.py PYTHON-1674 Support retryable reads 2019-04-25 14:28:12 -07:00
test_code.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_collation.py PYTHON-1581 - Deprecate Collection/Cursor count 2018-06-18 10:50:26 -07:00
test_collection.py PYTHON-1783 Decode user-facing documents but not internal driver-server 2019-04-16 15:01:42 -07:00
test_command_monitoring_spec.py PYTHON-1546 - Update various spec tests and adjust runners 2018-06-04 15:44:13 -07:00
test_common.py PYTHON-1581 - Deprecate Collection/Cursor count 2018-06-18 10:50:26 -07:00
test_crud_v1.py PYTHON-1674 Refactor spec test runner for transactions 2019-04-25 14:27:41 -07:00
test_crud_v2.py SPEC 1153: Adding readConcern support to aggregation with $out (#400) 2019-02-27 15:59:18 -08:00
test_cursor_manager.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_cursor.py PYTHON-1811 Deprecate running min/max queries without hint 2019-04-16 14:00:56 -07:00
test_custom_types.py PYTHON-1818 Support custom type encoding in watch pipelines 2019-04-19 15:53:31 -07:00
test_database.py PYTHON-1783 Decode user-facing documents but not internal driver-server 2019-04-16 15:01:42 -07:00
test_dbref.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_decimal128.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_discovery_and_monitoring.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_dns.py PYTHON-1563 - Avoid import deadlocks in the test suite 2018-06-03 07:34:26 -07:00
test_examples.py FIX: explicitly state read and write concern in causal consistency examples (#374) 2018-08-28 15:54:21 -05:00
test_grid_file.py PYTHON-1695 GridOut/GridIn more closely implement io.IOBase (#387) 2019-03-28 14:25:06 -07:00
test_gridfs_bucket.py PYTHON-1586 - Deprecate database_names and collection_names 2018-06-18 10:52:11 -07:00
test_gridfs_spec.py PYTHON-1721 Improve GridFS file download performance (#413) 2019-03-13 15:44:40 -07:00
test_gridfs.py PYTHON-1586 - Deprecate database_names and collection_names 2018-06-18 10:52:11 -07:00
test_heartbeat_monitoring.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_json_util.py PYTHON-1467 - PyMongo no longer supports Python 2.6 2018-07-02 15:15:43 -07:00
test_legacy_api.py PYTHON-1491 Skip OP_KILL_CURSORS on old 3.6 versions 2019-04-16 14:33:21 -07:00
test_max_staleness.py PYTHON-1600 Avoid race condition in test_last_write_date 2019-03-15 12:40:02 -07:00
test_mongos_load_balancing.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_monitor.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_monitoring.py PYTHON-1740 - retryWrites defaults to true 2019-03-06 16:32:53 -08:00
test_monotonic.py PYTHON-1482 Fix monotonic time import for Python 2 2018-02-21 17:01:03 -08:00
test_objectid.py PYTHON-1619 Implement ObjectID Specification (#373) 2018-08-29 12:24:28 -05:00
test_pooling.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_pymongo.py Fix up copyright dates. 2015-03-25 11:55:02 -07:00
test_raw_bson.py PYTHON-1821 Preserve field ordering when iterating over RawBSONDocument 2019-04-19 12:36:14 -07:00
test_read_concern.py SPEC 1153: Adding readConcern support to aggregation with $out (#400) 2019-02-27 15:59:18 -08:00
test_read_preferences.py PYTHON-1674 Support retryable reads 2019-04-25 14:28:12 -07:00
test_read_write_concern_spec.py PYTHON-1527 - Fix default writeConcern override 2018-06-04 13:56:06 -07:00
test_replica_set_client.py PYTHON-1467 - PyMongo no longer supports Python 2.6 2018-07-02 15:15:43 -07:00
test_replica_set_reconfig.py PYTHON-1421 Ensure Server monitor threads are (re)opened. 2017-11-28 11:56:13 -08:00
test_retryable_reads.py PYTHON-1674 Support retryable reads 2019-04-25 14:28:12 -07:00
test_retryable_writes.py PYTHON-1674 Refactor spec test runner for transactions 2019-04-25 14:27:41 -07:00
test_saslprep.py PYTHON-1457 - Implement SASLprep 2018-03-06 17:54:40 -08:00
test_sdam_monitoring_spec.py PYTHON-1026 - Remove test assumption about primary host 2016-09-21 11:15:43 -07:00
test_server_description.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_server_selection_rtt.py Fix up copyright dates. 2015-03-25 11:55:02 -07:00
test_server_selection.py PYTHON-1577 Allow applications to register a custom server selector (#371) 2018-08-30 17:33:03 -05:00
test_server.py Fix up copyright dates. 2015-03-25 11:55:02 -07:00
test_session.py PYTHON-1721 Improve GridFS file download performance (#413) 2019-03-13 15:44:40 -07:00
test_son_manipulator.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_son.py Update copyright dates 2017-12-01 17:23:39 -08:00
test_ssl.py PYTHON-1467 - PyMongo no longer supports Python 2.6 2018-07-02 15:15:43 -07:00
test_threads.py PYTHON-1725 Fix TestThreadsAuth.test_auto_auth_login 2019-03-12 16:26:50 -07:00
test_timestamp.py PYTHON-977 - Fix __hash__ method on BSON types that inherit from Python builtin types. 2015-09-04 14:45:24 -07:00
test_topology.py PYTHON-1422 Don't update a closed topology 2018-02-20 14:12:32 -08:00
test_transactions.py PYTHON-1674 Refactor spec test runner for transactions 2019-04-25 14:27:41 -07:00
test_uri_parser.py PYTHON-1670: Implement Unified URI Options (#386) 2019-02-27 15:56:48 -08:00
test_uri_spec.py PYTHON-1722 Fix spec-test failures for the compression URI options (#391) 2019-02-27 15:56:48 -08:00
test_write_concern.py Fix equality comparison of WriteConcern objects. (#378) 2018-10-09 15:05:47 -07:00
utils_selection_tests.py PYTHON-1577 Allow applications to register a custom server selector (#371) 2018-08-30 17:33:03 -05:00
utils_spec_runner.py PYTHON-1674 Support retryable reads 2019-04-25 14:28:12 -07:00
utils.py PYTHON-1674 Support retryable reads 2019-04-25 14:28:12 -07:00
version.py PYTHON-1021 - Support git describe based server versions 2015-12-15 13:33:23 -08:00