mongo 2.7.0 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/README.md +39 -14
  5. data/Rakefile +1 -0
  6. data/lib/mongo/auth.rb +4 -1
  7. data/lib/mongo/client.rb +4 -3
  8. data/lib/mongo/cluster.rb +1 -1
  9. data/lib/mongo/collection/view/readable.rb +5 -2
  10. data/lib/mongo/database.rb +1 -0
  11. data/lib/mongo/error/invalid_server_preference.rb +1 -0
  12. data/lib/mongo/error/operation_failure.rb +10 -0
  13. data/lib/mongo/error/parser.rb +10 -0
  14. data/lib/mongo/event.rb +1 -2
  15. data/lib/mongo/operation/result.rb +4 -1
  16. data/lib/mongo/operation/shared/executable_transaction_label.rb +3 -1
  17. data/lib/mongo/operation/shared/sessions_supported.rb +1 -1
  18. data/lib/mongo/protocol/msg.rb +1 -1
  19. data/lib/mongo/protocol/query.rb +2 -2
  20. data/lib/mongo/retryable.rb +20 -6
  21. data/lib/mongo/server.rb +6 -0
  22. data/lib/mongo/server/connection.rb +4 -4
  23. data/lib/mongo/server/monitor/connection.rb +9 -5
  24. data/lib/mongo/server_selector/selectable.rb +86 -32
  25. data/lib/mongo/session.rb +98 -15
  26. data/lib/mongo/version.rb +1 -1
  27. data/spec/README.md +85 -0
  28. data/spec/integration/bulk_insert_spec.rb +1 -1
  29. data/spec/integration/change_stream_examples_spec.rb +3 -1
  30. data/spec/integration/change_stream_spec.rb +10 -14
  31. data/spec/integration/client_construction_spec.rb +1 -0
  32. data/spec/integration/command_monitoring_spec.rb +37 -1
  33. data/spec/integration/command_spec.rb +141 -0
  34. data/spec/integration/connection_spec.rb +4 -2
  35. data/spec/integration/cursor_reaping_spec.rb +1 -1
  36. data/spec/integration/docs_examples_spec.rb +1 -1
  37. data/spec/integration/retryable_writes_spec.rb +33 -42
  38. data/spec/integration/server_description_spec.rb +3 -3
  39. data/spec/integration/server_selector_spec.rb +79 -0
  40. data/spec/lite_spec_helper.rb +4 -2
  41. data/spec/mongo/address_spec.rb +8 -0
  42. data/spec/mongo/auth/cr_spec.rb +5 -2
  43. data/spec/mongo/auth/invalid_mechanism_spec.rb +11 -0
  44. data/spec/mongo/auth/scram/conversation_spec.rb +3 -2
  45. data/spec/mongo/auth/scram/negotiation_spec.rb +1 -2
  46. data/spec/mongo/auth/scram_spec.rb +11 -6
  47. data/spec/mongo/auth/user/view_spec.rb +13 -6
  48. data/spec/mongo/bulk_write_spec.rb +81 -104
  49. data/spec/mongo/client_construction_spec.rb +18 -7
  50. data/spec/mongo/client_spec.rb +11 -7
  51. data/spec/mongo/cluster_spec.rb +30 -1
  52. data/spec/mongo/collection/view/aggregation_spec.rb +18 -10
  53. data/spec/mongo/collection/view/change_stream_spec.rb +28 -8
  54. data/spec/mongo/collection/view/map_reduce_spec.rb +24 -10
  55. data/spec/mongo/collection/view/readable_spec.rb +37 -19
  56. data/spec/mongo/collection/view/writable_spec.rb +64 -32
  57. data/spec/mongo/collection/view_spec.rb +4 -2
  58. data/spec/mongo/collection_spec.rb +163 -73
  59. data/spec/mongo/cursor_spec.rb +5 -2
  60. data/spec/mongo/database_spec.rb +41 -19
  61. data/spec/mongo/error/no_server_available_spec.rb +1 -1
  62. data/spec/mongo/error/parser_spec.rb +29 -0
  63. data/spec/mongo/grid/stream/write_spec.rb +2 -1
  64. data/spec/mongo/index/view_spec.rb +42 -24
  65. data/spec/mongo/operation/delete/op_msg_spec.rb +11 -7
  66. data/spec/mongo/operation/insert/op_msg_spec.rb +10 -6
  67. data/spec/mongo/operation/update/op_msg_spec.rb +10 -6
  68. data/spec/mongo/protocol/compressed_spec.rb +1 -1
  69. data/spec/mongo/protocol/msg_spec.rb +1 -1
  70. data/spec/mongo/server/app_metadata_spec.rb +2 -1
  71. data/spec/mongo/server/connection_auth_spec.rb +1 -1
  72. data/spec/mongo/server/monitor/connection_spec.rb +42 -0
  73. data/spec/mongo/server_selector_spec.rb +17 -0
  74. data/spec/mongo/server_spec.rb +110 -0
  75. data/spec/mongo/session/session_pool_spec.rb +1 -1
  76. data/spec/mongo/session_spec.rb +1 -1
  77. data/spec/mongo/session_transaction_spec.rb +162 -1
  78. data/spec/mongo/socket/ssl_spec.rb +14 -7
  79. data/spec/mongo/uri/srv_protocol_spec.rb +41 -34
  80. data/spec/spec_helper.rb +3 -191
  81. data/spec/spec_tests/change_streams_spec.rb +3 -6
  82. data/spec/spec_tests/data/transactions/abort.yml +3 -1
  83. data/spec/spec_tests/data/transactions/commit.yml +4 -3
  84. data/spec/spec_tests/data/transactions/error-labels.yml +17 -13
  85. data/spec/spec_tests/data/transactions/read-concern.yml +611 -0
  86. data/spec/spec_tests/data/transactions/retryable-commit.yml +126 -21
  87. data/spec/spec_tests/data/transactions_api/callback-aborts.yml +42 -39
  88. data/spec/spec_tests/data/transactions_api/callback-commits.yml +52 -50
  89. data/spec/spec_tests/data/transactions_api/callback-retry.yml +33 -31
  90. data/spec/spec_tests/data/transactions_api/commit-retry.yml +42 -39
  91. data/spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml +13 -12
  92. data/spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml +15 -26
  93. data/spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml +25 -33
  94. data/spec/spec_tests/data/transactions_api/commit.yml +44 -42
  95. data/spec/spec_tests/data/transactions_api/transaction-options.yml +25 -23
  96. data/spec/spec_tests/max_staleness_spec.rb +2 -0
  97. data/spec/spec_tests/retryable_writes_spec.rb +2 -6
  98. data/spec/spec_tests/sdam_spec.rb +2 -0
  99. data/spec/spec_tests/server_selection_spec.rb +3 -0
  100. data/spec/spec_tests/transactions_api_spec.rb +7 -1
  101. data/spec/spec_tests/transactions_spec.rb +6 -0
  102. data/spec/spec_tests/uri_options_spec.rb +4 -26
  103. data/spec/support/certificates/ca.pem +21 -16
  104. data/spec/support/certificates/client.pem +90 -90
  105. data/spec/support/certificates/client_cert.pem +21 -20
  106. data/spec/support/certificates/client_key.pem +27 -28
  107. data/spec/support/certificates/client_key_encrypted.pem +26 -26
  108. data/spec/support/certificates/crl.pem +10 -8
  109. data/spec/support/certificates/crl_client_revoked.pem +11 -10
  110. data/spec/support/certificates/server.pem +48 -33
  111. data/spec/support/change_streams.rb +12 -32
  112. data/spec/support/client_registry.rb +12 -1
  113. data/spec/support/cluster_config.rb +48 -2
  114. data/spec/support/common_shortcuts.rb +73 -7
  115. data/spec/support/connection_string.rb +0 -3
  116. data/spec/support/constraints.rb +87 -22
  117. data/spec/support/crud.rb +2 -1
  118. data/spec/support/shared/server_selector.rb +0 -28
  119. data/spec/support/shared/session.rb +25 -14
  120. data/spec/support/transactions.rb +4 -8
  121. data/spec/support/transactions/operation.rb +26 -4
  122. data/spec/support/transactions/verifier.rb +5 -2
  123. metadata +496 -488
  124. metadata.gz.sig +5 -2
  125. data/spec/support/certificates/password_protected.pem +0 -51
@@ -37,6 +37,7 @@ module Mongo
37
37
  'findOneAndUpdate' => :find_one_and_update,
38
38
  'bulkWrite' => :bulk_write,
39
39
  'count' => :count,
40
+ 'countDocuments' => :count_documents,
40
41
  'distinct' => :distinct,
41
42
  'find' => :find,
42
43
  'runCommand' => :run_command,
@@ -129,12 +130,27 @@ module Mongo
129
130
  else
130
131
  args = []
131
132
  end
133
+ if op_name.nil?
134
+ raise "Unknown operation #{name}"
135
+ end
132
136
  send(op_name, obj, *args)
133
137
  rescue Mongo::Error::OperationFailure => e
134
138
  err_doc = e.instance_variable_get(:@result).send(:first_document)
139
+ error_code_name = err_doc['codeName'] || err_doc['writeConcernError'] && err_doc['writeConcernError']['codeName']
140
+ if error_code_name.nil?
141
+ # Sometimes the server does not return the error code name,
142
+ # but does return the error code (or we can parse the error code
143
+ # out of the message).
144
+ # https://jira.mongodb.org/browse/SERVER-39706
145
+ if e.code == 11000
146
+ error_code_name = 'DuplicateKey'
147
+ else
148
+ warn "Error without error code name: #{e.code}"
149
+ end
150
+ end
135
151
 
136
152
  {
137
- 'errorCodeName' => err_doc['codeName'] || err_doc['writeConcernError']['codeName'],
153
+ 'errorCodeName' => error_code_name,
138
154
  'errorContains' => e.message,
139
155
  'errorLabels' => e.labels,
140
156
  'exception' => e,
@@ -162,12 +178,14 @@ module Mongo
162
178
  end
163
179
 
164
180
  def with_transaction(session, collection)
165
- unless callback = @spec['callback']
181
+ unless callback = @spec['arguments']['callback']
166
182
  raise ArgumentError, 'with_transaction requires a callback to be present'
167
183
  end
168
184
 
169
- if @spec['transactionOptions']
170
- options = snakeize_hash(@spec['transactionOptions'])
185
+ if @spec['arguments']['options']
186
+ options = snakeize_hash(@spec['arguments']['options'])
187
+ else
188
+ options = nil
171
189
  end
172
190
  session.with_transaction(options) do
173
191
  callback['operations'].each do |op_spec|
@@ -213,6 +231,10 @@ module Mongo
213
231
  collection.count(filter, options).to_s
214
232
  end
215
233
 
234
+ def count_documents(collection)
235
+ collection.count_documents(filter, options)
236
+ end
237
+
216
238
  def delete_many(collection)
217
239
  result = collection.delete_many(filter, options)
218
240
  { 'deletedCount' => result.deleted_count }
@@ -76,10 +76,13 @@ module Mongo
76
76
  end
77
77
  when 'errorLabelsOmit'
78
78
  v.each do |label|
79
- expect(actual['errorLabels']).not_to include(label)
79
+ if actual['errorLabels']
80
+ expect(actual['errorLabels']).not_to include(label)
81
+ end
80
82
  end
81
83
  else
82
- ok = actual && (actual[k] == v || handle_upserted_id(k, v, actual[v]) ||
84
+ expect(actual).to be_a(Hash)
85
+ ok = (actual[k] == v || handle_upserted_id(k, v, actual[v]) ||
83
86
  handle_inserted_ids(k, v, actual[v]))
84
87
  expect(ok).to be true
85
88
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -31,7 +31,7 @@ cert_chain:
31
31
  bMYVwXXhV8czdzgkQB/ZPWHSbEWXnmkze1mzvqWBCPOVXYrcnL9cnEl/RoxtS1hr
32
32
  Db6Ac6mCUSYfYHBWpWqxjc45n70i5Xi1
33
33
  -----END CERTIFICATE-----
34
- date: 2019-01-31 00:00:00.000000000 Z
34
+ date: 2019-02-25 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bson
@@ -410,6 +410,7 @@ files:
410
410
  - lib/mongo/write_concern/base.rb
411
411
  - lib/mongo/write_concern/unacknowledged.rb
412
412
  - mongo.gemspec
413
+ - spec/README.md
413
414
  - spec/atlas/atlas_connectivity_spec.rb
414
415
  - spec/enterprise_auth/kerberos_spec.rb
415
416
  - spec/integration/bulk_insert_spec.rb
@@ -418,6 +419,7 @@ files:
418
419
  - spec/integration/client_connectivity_spec.rb
419
420
  - spec/integration/client_construction_spec.rb
420
421
  - spec/integration/command_monitoring_spec.rb
422
+ - spec/integration/command_spec.rb
421
423
  - spec/integration/connect_single_rs_name_spec.rb
422
424
  - spec/integration/connection_spec.rb
423
425
  - spec/integration/cursor_reaping_spec.rb
@@ -428,6 +430,7 @@ files:
428
430
  - spec/integration/retryable_writes_spec.rb
429
431
  - spec/integration/sdam_events_spec.rb
430
432
  - spec/integration/server_description_spec.rb
433
+ - spec/integration/server_selector_spec.rb
431
434
  - spec/integration/shell_examples_spec.rb
432
435
  - spec/integration/time_zone_querying_spec.rb
433
436
  - spec/integration/transactions_examples_spec.rb
@@ -437,6 +440,7 @@ files:
437
440
  - spec/mongo/address/unix_spec.rb
438
441
  - spec/mongo/address_spec.rb
439
442
  - spec/mongo/auth/cr_spec.rb
443
+ - spec/mongo/auth/invalid_mechanism_spec.rb
440
444
  - spec/mongo/auth/ldap/conversation_spec.rb
441
445
  - spec/mongo/auth/ldap_spec.rb
442
446
  - spec/mongo/auth/scram/conversation_spec.rb
@@ -866,6 +870,7 @@ files:
866
870
  - spec/spec_tests/data/transactions/findOneAndUpdate.yml
867
871
  - spec/spec_tests/data/transactions/insert.yml
868
872
  - spec/spec_tests/data/transactions/isolation.yml
873
+ - spec/spec_tests/data/transactions/read-concern.yml
869
874
  - spec/spec_tests/data/transactions/read-pref.yml
870
875
  - spec/spec_tests/data/transactions/reads.yml
871
876
  - spec/spec_tests/data/transactions/retryable-abort.yml
@@ -910,7 +915,6 @@ files:
910
915
  - spec/support/certificates/client_key_encrypted.pem
911
916
  - spec/support/certificates/crl.pem
912
917
  - spec/support/certificates/crl_client_revoked.pem
913
- - spec/support/certificates/password_protected.pem
914
918
  - spec/support/certificates/server.pem
915
919
  - spec/support/change_streams.rb
916
920
  - spec/support/change_streams/operation.rb
@@ -969,538 +973,542 @@ signing_key:
969
973
  specification_version: 4
970
974
  summary: Ruby driver for MongoDB
971
975
  test_files:
972
- - spec/spec_tests/uri_options_spec.rb
973
- - spec/spec_tests/retryable_writes_spec.rb
974
- - spec/spec_tests/max_staleness_spec.rb
975
- - spec/spec_tests/server_selection_spec.rb
976
- - spec/spec_tests/crud_spec.rb
977
- - spec/spec_tests/data/transactions_api/callback-retry.yml
976
+ - spec/support/change_streams.rb
977
+ - spec/support/change_streams/operation.rb
978
+ - spec/support/server_discovery_and_monitoring.rb
979
+ - spec/support/server_selection.rb
980
+ - spec/support/certificates/client_key_encrypted.pem
981
+ - spec/support/certificates/ca.pem
982
+ - spec/support/certificates/server.pem
983
+ - spec/support/certificates/crl_client_revoked.pem
984
+ - spec/support/certificates/client.pem
985
+ - spec/support/certificates/client_key.pem
986
+ - spec/support/certificates/crl.pem
987
+ - spec/support/certificates/client_cert.pem
988
+ - spec/support/cluster_config.rb
989
+ - spec/support/client_registry.rb
990
+ - spec/support/sdam_formatter_integration.rb
991
+ - spec/support/constraints.rb
992
+ - spec/support/connection_string.rb
993
+ - spec/support/sdam_monitoring.rb
994
+ - spec/support/json_ext_formatter.rb
995
+ - spec/support/shared/protocol.rb
996
+ - spec/support/shared/server_selector.rb
997
+ - spec/support/shared/session.rb
998
+ - spec/support/authorization.rb
999
+ - spec/support/crud/read.rb
1000
+ - spec/support/crud/verifier.rb
1001
+ - spec/support/crud/write.rb
1002
+ - spec/support/common_shortcuts.rb
1003
+ - spec/support/monitoring_ext.rb
1004
+ - spec/support/client_registry_macros.rb
1005
+ - spec/support/gridfs.rb
1006
+ - spec/support/server_selection_rtt.rb
1007
+ - spec/support/matchers.rb
1008
+ - spec/support/command_monitoring.rb
1009
+ - spec/support/primary_socket.rb
1010
+ - spec/support/spec_config.rb
1011
+ - spec/support/event_subscriber.rb
1012
+ - spec/support/crud.rb
1013
+ - spec/support/transactions.rb
1014
+ - spec/support/transactions/operation.rb
1015
+ - spec/support/transactions/verifier.rb
1016
+ - spec/support/spec_setup.rb
1017
+ - spec/support/lite_constraints.rb
1018
+ - spec/README.md
1019
+ - spec/integration/server_description_spec.rb
1020
+ - spec/integration/connection_spec.rb
1021
+ - spec/integration/operation_failure_code_spec.rb
1022
+ - spec/integration/connect_single_rs_name_spec.rb
1023
+ - spec/integration/sdam_events_spec.rb
1024
+ - spec/integration/shell_examples_spec.rb
1025
+ - spec/integration/cursor_reaping_spec.rb
1026
+ - spec/integration/client_construction_spec.rb
1027
+ - spec/integration/server_selector_spec.rb
1028
+ - spec/integration/retryable_writes_spec.rb
1029
+ - spec/integration/change_stream_examples_spec.rb
1030
+ - spec/integration/transactions_examples_spec.rb
1031
+ - spec/integration/command_monitoring_spec.rb
1032
+ - spec/integration/reconnect_spec.rb
1033
+ - spec/integration/client_connectivity_spec.rb
1034
+ - spec/integration/bulk_insert_spec.rb
1035
+ - spec/integration/command_spec.rb
1036
+ - spec/integration/change_stream_spec.rb
1037
+ - spec/integration/time_zone_querying_spec.rb
1038
+ - spec/integration/heartbeat_events_spec.rb
1039
+ - spec/integration/docs_examples_spec.rb
1040
+ - spec/mongo/cursor_spec.rb
1041
+ - spec/mongo/collection_spec.rb
1042
+ - spec/mongo/server/round_trip_time_averager_spec.rb
1043
+ - spec/mongo/server/app_metadata_spec.rb
1044
+ - spec/mongo/server/monitor/app_metadata_spec.rb
1045
+ - spec/mongo/server/monitor/connection_spec.rb
1046
+ - spec/mongo/server/connection_spec.rb
1047
+ - spec/mongo/server/monitor_spec.rb
1048
+ - spec/mongo/server/connection_auth_spec.rb
1049
+ - spec/mongo/server/description/features_spec.rb
1050
+ - spec/mongo/server/description_spec.rb
1051
+ - spec/mongo/server/connection_pool/queue_spec.rb
1052
+ - spec/mongo/server/connection_pool_spec.rb
1053
+ - spec/mongo/server/description_query_methods_spec.rb
1054
+ - spec/mongo/session_spec.rb
1055
+ - spec/mongo/grid/stream_spec.rb
1056
+ - spec/mongo/grid/stream/write_spec.rb
1057
+ - spec/mongo/grid/stream/read_spec.rb
1058
+ - spec/mongo/grid/file_spec.rb
1059
+ - spec/mongo/grid/file/chunk_spec.rb
1060
+ - spec/mongo/grid/file/info_spec.rb
1061
+ - spec/mongo/grid/fs_bucket_spec.rb
1062
+ - spec/mongo/logger_spec.rb
1063
+ - spec/mongo/cursor/builder/op_get_more_spec.rb
1064
+ - spec/mongo/cursor/builder/get_more_command_spec.rb
1065
+ - spec/mongo/server_selector/primary_spec.rb
1066
+ - spec/mongo/server_selector/secondary_spec.rb
1067
+ - spec/mongo/server_selector/nearest_spec.rb
1068
+ - spec/mongo/server_selector/secondary_preferred_spec.rb
1069
+ - spec/mongo/server_selector/primary_preferred_spec.rb
1070
+ - spec/mongo/error/no_server_available_spec.rb
1071
+ - spec/mongo/error/operation_failure_spec.rb
1072
+ - spec/mongo/error/parser_spec.rb
1073
+ - spec/mongo/retryable_spec.rb
1074
+ - spec/mongo/write_concern_spec.rb
1075
+ - spec/mongo/lint_spec.rb
1076
+ - spec/mongo/dbref_spec.rb
1077
+ - spec/mongo/options/redacted_spec.rb
1078
+ - spec/mongo/client_spec.rb
1079
+ - spec/mongo/server_spec.rb
1080
+ - spec/mongo/client_construction_spec.rb
1081
+ - spec/mongo/monitoring/command_log_subscriber_spec.rb
1082
+ - spec/mongo/monitoring/event/server_opening_spec.rb
1083
+ - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
1084
+ - spec/mongo/monitoring/event/server_description_changed_spec.rb
1085
+ - spec/mongo/monitoring/event/command_succeeded_spec.rb
1086
+ - spec/mongo/monitoring/event/command_failed_spec.rb
1087
+ - spec/mongo/monitoring/event/command_started_spec.rb
1088
+ - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
1089
+ - spec/mongo/monitoring/event/topology_changed_spec.rb
1090
+ - spec/mongo/monitoring/event/server_closed_spec.rb
1091
+ - spec/mongo/monitoring/event/topology_closed_spec.rb
1092
+ - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
1093
+ - spec/mongo/monitoring/event/secure_spec.rb
1094
+ - spec/mongo/monitoring/event/topology_opening_spec.rb
1095
+ - spec/mongo/socket/unix_spec.rb
1096
+ - spec/mongo/socket/ssl_spec.rb
1097
+ - spec/mongo/server_selector_spec.rb
1098
+ - spec/mongo/address/ipv6_spec.rb
1099
+ - spec/mongo/address/ipv4_spec.rb
1100
+ - spec/mongo/address/unix_spec.rb
1101
+ - spec/mongo/session_transaction_spec.rb
1102
+ - spec/mongo/uri_spec.rb
1103
+ - spec/mongo/monitoring_spec.rb
1104
+ - spec/mongo/socket_spec.rb
1105
+ - spec/mongo/collection/view_spec.rb
1106
+ - spec/mongo/collection/view/explainable_spec.rb
1107
+ - spec/mongo/collection/view/aggregation_spec.rb
1108
+ - spec/mongo/collection/view/map_reduce_spec.rb
1109
+ - spec/mongo/collection/view/immutable_spec.rb
1110
+ - spec/mongo/collection/view/builder/op_query_spec.rb
1111
+ - spec/mongo/collection/view/builder/find_command_spec.rb
1112
+ - spec/mongo/collection/view/builder/flags_spec.rb
1113
+ - spec/mongo/collection/view/builder/modifiers_spec.rb
1114
+ - spec/mongo/collection/view/readable_spec.rb
1115
+ - spec/mongo/collection/view/writable_spec.rb
1116
+ - spec/mongo/collection/view/change_stream_spec.rb
1117
+ - spec/mongo/database_spec.rb
1118
+ - spec/mongo/index/view_spec.rb
1119
+ - spec/mongo/operation/limited_spec.rb
1120
+ - spec/mongo/operation/map_reduce_spec.rb
1121
+ - spec/mongo/operation/get_more_spec.rb
1122
+ - spec/mongo/operation/specifiable_spec.rb
1123
+ - spec/mongo/operation/collections_info_spec.rb
1124
+ - spec/mongo/operation/aggregate/result_spec.rb
1125
+ - spec/mongo/operation/delete_spec.rb
1126
+ - spec/mongo/operation/delete/op_msg_spec.rb
1127
+ - spec/mongo/operation/delete/bulk_spec.rb
1128
+ - spec/mongo/operation/delete/command_spec.rb
1129
+ - spec/mongo/operation/create_index_spec.rb
1130
+ - spec/mongo/operation/update/op_msg_spec.rb
1131
+ - spec/mongo/operation/update/bulk_spec.rb
1132
+ - spec/mongo/operation/update/command_spec.rb
1133
+ - spec/mongo/operation/create_user_spec.rb
1134
+ - spec/mongo/operation/update_spec.rb
1135
+ - spec/mongo/operation/update_user_spec.rb
1136
+ - spec/mongo/operation/result_spec.rb
1137
+ - spec/mongo/operation/indexes_spec.rb
1138
+ - spec/mongo/operation/find/legacy_spec.rb
1139
+ - spec/mongo/operation/drop_index_spec.rb
1140
+ - spec/mongo/operation/aggregate_spec.rb
1141
+ - spec/mongo/operation/kill_cursors_spec.rb
1142
+ - spec/mongo/operation/insert/op_msg_spec.rb
1143
+ - spec/mongo/operation/insert/bulk_spec.rb
1144
+ - spec/mongo/operation/insert/command_spec.rb
1145
+ - spec/mongo/operation/read_preference_spec.rb
1146
+ - spec/mongo/operation/command_spec.rb
1147
+ - spec/mongo/operation/insert_spec.rb
1148
+ - spec/mongo/operation/remove_user_spec.rb
1149
+ - spec/mongo/bulk_write/unordered_combiner_spec.rb
1150
+ - spec/mongo/bulk_write/ordered_combiner_spec.rb
1151
+ - spec/mongo/bulk_write/result_spec.rb
1152
+ - spec/mongo/id_spec.rb
1153
+ - spec/mongo/auth/ldap_spec.rb
1154
+ - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1155
+ - spec/mongo/auth/invalid_mechanism_spec.rb
1156
+ - spec/mongo/auth/user_spec.rb
1157
+ - spec/mongo/auth/ldap/conversation_spec.rb
1158
+ - spec/mongo/auth/stringprep_spec.rb
1159
+ - spec/mongo/auth/scram/negotiation_spec.rb
1160
+ - spec/mongo/auth/scram/conversation_spec.rb
1161
+ - spec/mongo/auth/cr_spec.rb
1162
+ - spec/mongo/auth/x509_spec.rb
1163
+ - spec/mongo/auth/x509/conversation_spec.rb
1164
+ - spec/mongo/auth/scram_spec.rb
1165
+ - spec/mongo/auth/user/view_spec.rb
1166
+ - spec/mongo/bulk_write_spec.rb
1167
+ - spec/mongo/protocol/get_more_spec.rb
1168
+ - spec/mongo/protocol/reply_spec.rb
1169
+ - spec/mongo/protocol/delete_spec.rb
1170
+ - spec/mongo/protocol/update_spec.rb
1171
+ - spec/mongo/protocol/registry_spec.rb
1172
+ - spec/mongo/protocol/kill_cursors_spec.rb
1173
+ - spec/mongo/protocol/query_spec.rb
1174
+ - spec/mongo/protocol/msg_spec.rb
1175
+ - spec/mongo/protocol/insert_spec.rb
1176
+ - spec/mongo/protocol/compressed_spec.rb
1177
+ - spec/mongo/session/session_pool_spec.rb
1178
+ - spec/mongo/session/server_session_spec.rb
1179
+ - spec/mongo/auth_spec.rb
1180
+ - spec/mongo/write_concern/acknowledged_spec.rb
1181
+ - spec/mongo/write_concern/unacknowledged_spec.rb
1182
+ - spec/mongo/cluster/topology_spec.rb
1183
+ - spec/mongo/cluster/socket_reaper_spec.rb
1184
+ - spec/mongo/cluster/cursor_reaper_spec.rb
1185
+ - spec/mongo/cluster/topology/unknown_spec.rb
1186
+ - spec/mongo/cluster/topology/sharded_spec.rb
1187
+ - spec/mongo/cluster/topology/single_spec.rb
1188
+ - spec/mongo/cluster/topology/replica_set_spec.rb
1189
+ - spec/mongo/bson_spec.rb
1190
+ - spec/mongo/cluster_spec.rb
1191
+ - spec/mongo/address_spec.rb
1192
+ - spec/mongo/event/publisher_spec.rb
1193
+ - spec/mongo/event/subscriber_spec.rb
1194
+ - spec/mongo/uri/srv_protocol_spec.rb
1195
+ - spec/atlas/atlas_connectivity_spec.rb
1196
+ - spec/enterprise_auth/kerberos_spec.rb
1197
+ - spec/lite_spec_helper.rb
1198
+ - spec/spec_helper.rb
1199
+ - spec/spec_tests/data/transactions_api/transaction-options.yml
1200
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
1201
+ - spec/spec_tests/data/transactions_api/callback-aborts.yml
978
1202
  - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
979
1203
  - spec/spec_tests/data/transactions_api/commit-retry.yml
1204
+ - spec/spec_tests/data/transactions_api/callback-retry.yml
980
1205
  - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
981
- - spec/spec_tests/data/transactions_api/callback-aborts.yml
982
- - spec/spec_tests/data/transactions_api/transaction-options.yml
983
1206
  - spec/spec_tests/data/transactions_api/callback-commits.yml
984
1207
  - spec/spec_tests/data/transactions_api/commit.yml
985
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
986
- - spec/spec_tests/data/command_monitoring/find.yml
987
- - spec/spec_tests/data/command_monitoring/insertMany.yml
988
- - spec/spec_tests/data/command_monitoring/updateOne.yml
989
- - spec/spec_tests/data/command_monitoring/bulkWrite.yml
1208
+ - spec/spec_tests/data/change_streams/change-streams-errors.yml
1209
+ - spec/spec_tests/data/change_streams/change-streams.yml
990
1210
  - spec/spec_tests/data/command_monitoring/deleteMany.yml
1211
+ - spec/spec_tests/data/command_monitoring/bulkWrite.yml
1212
+ - spec/spec_tests/data/command_monitoring/updateOne.yml
991
1213
  - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
1214
+ - spec/spec_tests/data/command_monitoring/find.yml
1215
+ - spec/spec_tests/data/command_monitoring/insertOne.yml
1216
+ - spec/spec_tests/data/command_monitoring/command.yml
992
1217
  - spec/spec_tests/data/command_monitoring/updateMany.yml
993
1218
  - spec/spec_tests/data/command_monitoring/deleteOne.yml
994
- - spec/spec_tests/data/command_monitoring/command.yml
995
- - spec/spec_tests/data/command_monitoring/insertOne.yml
996
- - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
997
- - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
998
- - spec/spec_tests/data/sdam/rs/member_reconfig.yml
999
- - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
1000
- - spec/spec_tests/data/sdam/rs/ghost_discovered.yml
1001
- - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
1002
- - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
1003
- - spec/spec_tests/data/sdam/rs/too_new.yml
1004
- - spec/spec_tests/data/sdam/rs/rsother_discovered.yml
1005
- - spec/spec_tests/data/sdam/rs/non_rs_member.yml
1006
- - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
1007
- - spec/spec_tests/data/sdam/rs/null_election_id.yml
1008
- - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
1009
- - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
1010
- - spec/spec_tests/data/sdam/rs/incompatible_other.yml
1011
- - spec/spec_tests/data/sdam/rs/member_standalone.yml
1012
- - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
1013
- - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
1014
- - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
1015
- - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
1016
- - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
1017
- - spec/spec_tests/data/sdam/rs/response_from_removed.yml
1018
- - spec/spec_tests/data/sdam/rs/discover_secondary.yml
1019
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary_second.yml
1020
- - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
1021
- - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
1022
- - spec/spec_tests/data/sdam/rs/new_primary.yml
1023
- - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
1024
- - spec/spec_tests/data/sdam/rs/discovery.yml
1025
- - spec/spec_tests/data/sdam/rs/equal_electionids.yml
1026
- - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
1027
- - spec/spec_tests/data/sdam/rs/normalize_case.yml
1028
- - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
1029
- - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
1030
- - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
1031
- - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
1032
- - spec/spec_tests/data/sdam/rs/ls_timeout.yml
1033
- - spec/spec_tests/data/sdam/rs/discover_primary.yml
1034
- - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
1035
- - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
1036
- - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
1037
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
1038
- - spec/spec_tests/data/sdam/rs/compatible.yml
1039
- - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
1040
- - spec/spec_tests/data/sdam/rs/too_old.yml
1041
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
1042
- - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
1043
- - spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml
1044
- - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
1045
- - spec/spec_tests/data/sdam/rs/discover_passives.yml
1046
- - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
1047
- - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
1048
- - spec/spec_tests/data/sdam/sharded/single_mongos.yml
1049
- - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
1050
- - spec/spec_tests/data/sdam/sharded/too_new.yml
1051
- - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
1052
- - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
1053
- - spec/spec_tests/data/sdam/sharded/compatible.yml
1054
- - spec/spec_tests/data/sdam/sharded/too_old.yml
1055
- - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
1056
- - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
1057
- - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
1058
- - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
1059
- - spec/spec_tests/data/sdam/single/unavailable_seed.yml
1060
- - spec/spec_tests/data/sdam/single/too_new.yml
1061
- - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
1062
- - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
1063
- - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
1064
- - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
1065
- - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
1066
- - spec/spec_tests/data/sdam/single/not_ok_response.yml
1067
- - spec/spec_tests/data/sdam/single/compatible.yml
1068
- - spec/spec_tests/data/sdam/single/too_old.yml
1069
- - spec/spec_tests/data/sdam/single/standalone_removed.yml
1070
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
1071
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1072
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1073
- - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1074
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1075
- - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1076
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1077
- - spec/spec_tests/data/sdam_monitoring/standalone.yml
1078
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
1079
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1080
- - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1081
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1082
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_seed.yml
1083
- - spec/spec_tests/data/change_streams/change-streams-errors.yml
1084
- - spec/spec_tests/data/change_streams/change-streams.yml
1085
- - spec/spec_tests/data/transactions/retryable-commit.yml
1086
- - spec/spec_tests/data/transactions/run-command.yml
1087
- - spec/spec_tests/data/transactions/findOneAndDelete.yml
1088
- - spec/spec_tests/data/transactions/insert.yml
1089
- - spec/spec_tests/data/transactions/errors.yml
1090
- - spec/spec_tests/data/transactions/update.yml
1091
- - spec/spec_tests/data/transactions/bulk.yml
1092
- - spec/spec_tests/data/transactions/reads.yml
1093
- - spec/spec_tests/data/transactions/retryable-abort.yml
1094
- - spec/spec_tests/data/transactions/retryable-writes.yml
1095
- - spec/spec_tests/data/transactions/findOneAndUpdate.yml
1096
- - spec/spec_tests/data/transactions/error-labels.yml
1097
- - spec/spec_tests/data/transactions/transaction-options.yml
1098
- - spec/spec_tests/data/transactions/read-pref.yml
1099
- - spec/spec_tests/data/transactions/isolation.yml
1100
- - spec/spec_tests/data/transactions/abort.yml
1101
- - spec/spec_tests/data/transactions/delete.yml
1102
- - spec/spec_tests/data/transactions/findOneAndReplace.yml
1103
- - spec/spec_tests/data/transactions/commit.yml
1104
- - spec/spec_tests/data/transactions/write-concern.yml
1105
- - spec/spec_tests/data/transactions/causal-consistency.yml
1106
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1107
- - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1108
- - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1109
- - spec/spec_tests/data/retryable_writes/replaceOne.yml
1110
- - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1111
- - spec/spec_tests/data/retryable_writes/insertMany.yml
1112
- - spec/spec_tests/data/retryable_writes/updateOne.yml
1113
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1114
- - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1115
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1116
- - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1117
- - spec/spec_tests/data/retryable_writes/deleteOne.yml
1118
- - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1119
- - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
1120
- - spec/spec_tests/data/retryable_writes/insertOne.yml
1121
- - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1122
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1123
- - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1124
- - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
1125
- - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
1126
- - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
1219
+ - spec/spec_tests/data/command_monitoring/insertMany.yml
1127
1220
  - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
1128
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
1129
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
1130
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
1131
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
1132
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
1133
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
1134
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
1135
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
1136
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
1137
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
1138
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
1139
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
1140
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
1141
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
1142
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
1143
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
1144
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
1145
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
1146
- - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
1147
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
1148
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
1149
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
1150
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
1151
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
1152
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
1221
+ - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
1153
1222
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
1223
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
1154
1224
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
1155
1225
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml
1226
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
1156
1227
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml
1228
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
1157
1229
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
1230
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
1231
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
1158
1232
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
1233
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
1234
+ - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
1235
+ - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
1236
+ - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
1237
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
1238
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
1239
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
1240
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
1241
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
1242
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
1243
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
1244
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
1245
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
1246
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
1247
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
1248
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
1249
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
1250
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
1251
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
1252
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
1253
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
1254
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
1255
+ - spec/spec_tests/data/gridfs/download_by_name.yml
1256
+ - spec/spec_tests/data/gridfs/download.yml
1257
+ - spec/spec_tests/data/gridfs/upload.yml
1258
+ - spec/spec_tests/data/gridfs/delete.yml
1259
+ - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
1260
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
1261
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
1262
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
1263
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
1264
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
1265
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
1266
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
1267
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
1268
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
1269
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
1270
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
1271
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
1272
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1273
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
1274
+ - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
1275
+ - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
1276
+ - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1277
+ - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
1278
+ - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
1279
+ - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1280
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
1281
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
1282
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
1283
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
1284
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
1285
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
1286
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
1287
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
1288
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
1289
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
1290
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
1291
+ - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
1292
+ - spec/spec_tests/data/connection_string/valid-warnings.yml
1293
+ - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
1294
+ - spec/spec_tests/data/connection_string/invalid-uris.yml
1295
+ - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
1296
+ - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
1297
+ - spec/spec_tests/data/connection_string/valid-auth.yml
1298
+ - spec/spec_tests/data/connection_string/valid-options.yml
1299
+ - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1300
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1301
+ - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1302
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1303
+ - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1304
+ - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1305
+ - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1306
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1307
+ - spec/spec_tests/data/retryable_writes/updateOne.yml
1308
+ - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1309
+ - spec/spec_tests/data/retryable_writes/insertOne.yml
1310
+ - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
1311
+ - spec/spec_tests/data/retryable_writes/replaceOne.yml
1312
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1313
+ - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1314
+ - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1315
+ - spec/spec_tests/data/retryable_writes/deleteOne.yml
1316
+ - spec/spec_tests/data/retryable_writes/insertMany.yml
1317
+ - spec/spec_tests/data/sdam_monitoring/standalone.yml
1318
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1319
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1320
+ - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1321
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1322
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1323
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1324
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_seed.yml
1325
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
1326
+ - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1327
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
1328
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1329
+ - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1330
+ - spec/spec_tests/data/uri_options/tls-options.yml
1159
1331
  - spec/spec_tests/data/uri_options/compression-options.yml
1332
+ - spec/spec_tests/data/uri_options/connection-options.yml
1333
+ - spec/spec_tests/data/uri_options/auth-options.yml
1160
1334
  - spec/spec_tests/data/uri_options/connection-pool-options.yml
1161
1335
  - spec/spec_tests/data/uri_options/read-preference-options.yml
1162
- - spec/spec_tests/data/uri_options/tls-options.yml
1163
- - spec/spec_tests/data/uri_options/connection-options.yml
1164
1336
  - spec/spec_tests/data/uri_options/concern-options.yml
1165
- - spec/spec_tests/data/uri_options/auth-options.yml
1166
- - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
1167
- - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1337
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1338
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1168
1339
  - spec/spec_tests/data/crud/write/findOneAndDelete.yml
1169
- - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1170
- - spec/spec_tests/data/crud/write/updateMany-collation.yml
1340
+ - spec/spec_tests/data/crud/write/deleteMany.yml
1171
1341
  - spec/spec_tests/data/crud/write/deleteOne-collation.yml
1342
+ - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1172
1343
  - spec/spec_tests/data/crud/write/deleteMany-collation.yml
1173
- - spec/spec_tests/data/crud/write/replaceOne.yml
1174
- - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1175
- - spec/spec_tests/data/crud/write/insertMany.yml
1344
+ - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1176
1345
  - spec/spec_tests/data/crud/write/updateOne.yml
1177
- - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1178
- - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1179
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1180
- - spec/spec_tests/data/crud/write/deleteMany.yml
1181
- - spec/spec_tests/data/crud/write/updateMany.yml
1182
1346
  - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
1183
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1184
- - spec/spec_tests/data/crud/write/deleteOne.yml
1185
- - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1186
- - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1187
- - spec/spec_tests/data/crud/write/insertOne.yml
1188
- - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1189
- - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1190
- - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1191
1347
  - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
1348
+ - spec/spec_tests/data/crud/write/insertOne.yml
1349
+ - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1350
+ - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1351
+ - spec/spec_tests/data/crud/write/updateMany-collation.yml
1352
+ - spec/spec_tests/data/crud/write/replaceOne.yml
1353
+ - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1192
1354
  - spec/spec_tests/data/crud/write/replaceOne-collation.yml
1193
1355
  - spec/spec_tests/data/crud/write/updateOne-collation.yml
1356
+ - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1357
+ - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1358
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1359
+ - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1360
+ - spec/spec_tests/data/crud/write/updateMany.yml
1361
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1362
+ - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
1363
+ - spec/spec_tests/data/crud/write/deleteOne.yml
1364
+ - spec/spec_tests/data/crud/write/insertMany.yml
1365
+ - spec/spec_tests/data/crud/read/distinct.yml
1366
+ - spec/spec_tests/data/crud/read/distinct-collation.yml
1194
1367
  - spec/spec_tests/data/crud/read/find.yml
1195
- - spec/spec_tests/data/crud/read/find-collation.yml
1196
1368
  - spec/spec_tests/data/crud/read/count.yml
1197
1369
  - spec/spec_tests/data/crud/read/aggregate-out.yml
1198
- - spec/spec_tests/data/crud/read/distinct-collation.yml
1199
- - spec/spec_tests/data/crud/read/aggregate-collation.yml
1200
- - spec/spec_tests/data/crud/read/distinct.yml
1201
- - spec/spec_tests/data/crud/read/count-collation.yml
1370
+ - spec/spec_tests/data/crud/read/find-collation.yml
1202
1371
  - spec/spec_tests/data/crud/read/aggregate.yml
1203
- - spec/spec_tests/data/gridfs/upload.yml
1204
- - spec/spec_tests/data/gridfs/delete.yml
1205
- - spec/spec_tests/data/gridfs/download_by_name.yml
1206
- - spec/spec_tests/data/gridfs/download.yml
1207
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1372
+ - spec/spec_tests/data/crud/read/count-collation.yml
1373
+ - spec/spec_tests/data/crud/read/aggregate-collation.yml
1374
+ - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
1375
+ - spec/spec_tests/data/sdam/single/not_ok_response.yml
1376
+ - spec/spec_tests/data/sdam/single/too_old.yml
1377
+ - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
1378
+ - spec/spec_tests/data/sdam/single/unavailable_seed.yml
1379
+ - spec/spec_tests/data/sdam/single/standalone_removed.yml
1380
+ - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
1381
+ - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
1382
+ - spec/spec_tests/data/sdam/single/compatible.yml
1383
+ - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
1384
+ - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
1385
+ - spec/spec_tests/data/sdam/single/too_new.yml
1386
+ - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
1387
+ - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
1388
+ - spec/spec_tests/data/sdam/sharded/too_old.yml
1389
+ - spec/spec_tests/data/sdam/sharded/compatible.yml
1390
+ - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
1391
+ - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
1392
+ - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
1393
+ - spec/spec_tests/data/sdam/sharded/too_new.yml
1394
+ - spec/spec_tests/data/sdam/sharded/single_mongos.yml
1395
+ - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
1396
+ - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
1397
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
1398
+ - spec/spec_tests/data/sdam/rs/rsother_discovered.yml
1399
+ - spec/spec_tests/data/sdam/rs/too_old.yml
1400
+ - spec/spec_tests/data/sdam/rs/ls_timeout.yml
1401
+ - spec/spec_tests/data/sdam/rs/discover_secondary.yml
1402
+ - spec/spec_tests/data/sdam/rs/non_rs_member.yml
1403
+ - spec/spec_tests/data/sdam/rs/discover_primary.yml
1404
+ - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
1405
+ - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
1406
+ - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
1407
+ - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
1408
+ - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
1409
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary_second.yml
1410
+ - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
1411
+ - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
1412
+ - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
1413
+ - spec/spec_tests/data/sdam/rs/compatible.yml
1414
+ - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
1415
+ - spec/spec_tests/data/sdam/rs/new_primary.yml
1416
+ - spec/spec_tests/data/sdam/rs/discovery.yml
1417
+ - spec/spec_tests/data/sdam/rs/normalize_case.yml
1418
+ - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
1419
+ - spec/spec_tests/data/sdam/rs/equal_electionids.yml
1420
+ - spec/spec_tests/data/sdam/rs/discover_passives.yml
1421
+ - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
1422
+ - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
1423
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
1424
+ - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
1425
+ - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
1426
+ - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
1427
+ - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
1428
+ - spec/spec_tests/data/sdam/rs/too_new.yml
1429
+ - spec/spec_tests/data/sdam/rs/member_standalone.yml
1430
+ - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
1431
+ - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
1432
+ - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
1433
+ - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
1434
+ - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
1435
+ - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
1436
+ - spec/spec_tests/data/sdam/rs/member_reconfig.yml
1437
+ - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
1438
+ - spec/spec_tests/data/sdam/rs/response_from_removed.yml
1439
+ - spec/spec_tests/data/sdam/rs/ghost_discovered.yml
1440
+ - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
1441
+ - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
1442
+ - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
1443
+ - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
1444
+ - spec/spec_tests/data/sdam/rs/incompatible_other.yml
1445
+ - spec/spec_tests/data/sdam/rs/null_election_id.yml
1446
+ - spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml
1447
+ - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
1208
1448
  - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
1449
+ - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1450
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1209
1451
  - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
1210
- - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1211
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1212
1452
  - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1213
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1214
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1215
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1453
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1454
+ - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1455
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1456
+ - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1457
+ - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1216
1458
  - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
1217
1459
  - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
1218
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1460
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1219
1461
  - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1462
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1463
+ - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1220
1464
  - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1465
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1466
+ - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1221
1467
  - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1222
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1223
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1224
- - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1225
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1226
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1468
+ - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1469
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1227
1470
  - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
1228
- - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1229
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1230
- - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
1231
- - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
1232
- - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
1233
- - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
1234
- - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1235
- - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
1236
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
1237
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
1238
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
1239
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
1240
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
1241
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
1242
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
1243
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
1244
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
1245
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
1246
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
1247
- - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1248
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
1249
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
1250
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
1251
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1252
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
1253
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
1254
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
1255
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
1256
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
1257
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
1258
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
1259
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
1260
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
1261
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
1262
1471
  - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
1472
+ - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
1263
1473
  - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
1264
- - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
1265
1474
  - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
1266
- - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
1267
- - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
1475
+ - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
1268
1476
  - spec/spec_tests/data/server_selection_rtt/first_value.yml
1269
- - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
1270
- - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
1271
- - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
1272
- - spec/spec_tests/data/connection_string/invalid-uris.yml
1273
- - spec/spec_tests/data/connection_string/valid-auth.yml
1274
- - spec/spec_tests/data/connection_string/valid-warnings.yml
1275
- - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
1276
- - spec/spec_tests/data/connection_string/valid-options.yml
1277
- - spec/spec_tests/connection_string_spec.rb
1278
- - spec/spec_tests/server_selection_rtt_spec.rb
1279
- - spec/spec_tests/transactions_spec.rb
1477
+ - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
1478
+ - spec/spec_tests/data/transactions/errors.yml
1479
+ - spec/spec_tests/data/transactions/update.yml
1480
+ - spec/spec_tests/data/transactions/isolation.yml
1481
+ - spec/spec_tests/data/transactions/transaction-options.yml
1482
+ - spec/spec_tests/data/transactions/write-concern.yml
1483
+ - spec/spec_tests/data/transactions/read-pref.yml
1484
+ - spec/spec_tests/data/transactions/findOneAndDelete.yml
1485
+ - spec/spec_tests/data/transactions/error-labels.yml
1486
+ - spec/spec_tests/data/transactions/retryable-commit.yml
1487
+ - spec/spec_tests/data/transactions/read-concern.yml
1488
+ - spec/spec_tests/data/transactions/bulk.yml
1489
+ - spec/spec_tests/data/transactions/reads.yml
1490
+ - spec/spec_tests/data/transactions/findOneAndReplace.yml
1491
+ - spec/spec_tests/data/transactions/findOneAndUpdate.yml
1492
+ - spec/spec_tests/data/transactions/abort.yml
1493
+ - spec/spec_tests/data/transactions/retryable-abort.yml
1494
+ - spec/spec_tests/data/transactions/insert.yml
1495
+ - spec/spec_tests/data/transactions/retryable-writes.yml
1496
+ - spec/spec_tests/data/transactions/causal-consistency.yml
1497
+ - spec/spec_tests/data/transactions/run-command.yml
1498
+ - spec/spec_tests/data/transactions/delete.yml
1499
+ - spec/spec_tests/data/transactions/commit.yml
1500
+ - spec/spec_tests/crud_spec.rb
1501
+ - spec/spec_tests/max_staleness_spec.rb
1280
1502
  - spec/spec_tests/sdam_spec.rb
1503
+ - spec/spec_tests/server_selection_rtt_spec.rb
1281
1504
  - spec/spec_tests/change_streams_spec.rb
1505
+ - spec/spec_tests/retryable_writes_spec.rb
1506
+ - spec/spec_tests/uri_options_spec.rb
1507
+ - spec/spec_tests/connection_string_spec.rb
1508
+ - spec/spec_tests/transactions_api_spec.rb
1509
+ - spec/spec_tests/server_selection_spec.rb
1510
+ - spec/spec_tests/command_monitoring_spec.rb
1282
1511
  - spec/spec_tests/gridfs_spec.rb
1283
1512
  - spec/spec_tests/sdam_monitoring_spec.rb
1284
- - spec/spec_tests/transactions_api_spec.rb
1513
+ - spec/spec_tests/transactions_spec.rb
1285
1514
  - spec/spec_tests/dns_seedlist_discovery_spec.rb
1286
- - spec/spec_tests/command_monitoring_spec.rb
1287
- - spec/enterprise_auth/kerberos_spec.rb
1288
- - spec/spec_helper.rb
1289
- - spec/mongo/socket/ssl_spec.rb
1290
- - spec/mongo/socket/unix_spec.rb
1291
- - spec/mongo/auth/cr_spec.rb
1292
- - spec/mongo/auth/x509_spec.rb
1293
- - spec/mongo/auth/user_spec.rb
1294
- - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1295
- - spec/mongo/auth/user/view_spec.rb
1296
- - spec/mongo/auth/stringprep_spec.rb
1297
- - spec/mongo/auth/x509/conversation_spec.rb
1298
- - spec/mongo/auth/scram/conversation_spec.rb
1299
- - spec/mongo/auth/scram/negotiation_spec.rb
1300
- - spec/mongo/auth/ldap/conversation_spec.rb
1301
- - spec/mongo/auth/scram_spec.rb
1302
- - spec/mongo/auth/ldap_spec.rb
1303
- - spec/mongo/session/server_session_spec.rb
1304
- - spec/mongo/session/session_pool_spec.rb
1305
- - spec/mongo/server/description/features_spec.rb
1306
- - spec/mongo/server/description_spec.rb
1307
- - spec/mongo/server/round_trip_time_averager_spec.rb
1308
- - spec/mongo/server/connection_auth_spec.rb
1309
- - spec/mongo/server/app_metadata_spec.rb
1310
- - spec/mongo/server/connection_spec.rb
1311
- - spec/mongo/server/monitor/app_metadata_spec.rb
1312
- - spec/mongo/server/monitor/connection_spec.rb
1313
- - spec/mongo/server/description_query_methods_spec.rb
1314
- - spec/mongo/server/monitor_spec.rb
1315
- - spec/mongo/server/connection_pool_spec.rb
1316
- - spec/mongo/server/connection_pool/queue_spec.rb
1317
- - spec/mongo/server_selector/primary_preferred_spec.rb
1318
- - spec/mongo/server_selector/primary_spec.rb
1319
- - spec/mongo/server_selector/nearest_spec.rb
1320
- - spec/mongo/server_selector/secondary_spec.rb
1321
- - spec/mongo/server_selector/secondary_preferred_spec.rb
1322
- - spec/mongo/address/unix_spec.rb
1323
- - spec/mongo/address/ipv6_spec.rb
1324
- - spec/mongo/address/ipv4_spec.rb
1325
- - spec/mongo/bson_spec.rb
1326
- - spec/mongo/cluster_spec.rb
1327
- - spec/mongo/auth_spec.rb
1328
- - spec/mongo/lint_spec.rb
1329
- - spec/mongo/uri_spec.rb
1330
- - spec/mongo/cursor_spec.rb
1331
- - spec/mongo/retryable_spec.rb
1332
- - spec/mongo/write_concern_spec.rb
1333
- - spec/mongo/client_spec.rb
1334
- - spec/mongo/logger_spec.rb
1335
- - spec/mongo/dbref_spec.rb
1336
- - spec/mongo/session_transaction_spec.rb
1337
- - spec/mongo/bulk_write_spec.rb
1338
- - spec/mongo/server_spec.rb
1339
- - spec/mongo/server_selector_spec.rb
1340
- - spec/mongo/session_spec.rb
1341
- - spec/mongo/address_spec.rb
1342
- - spec/mongo/protocol/update_spec.rb
1343
- - spec/mongo/protocol/msg_spec.rb
1344
- - spec/mongo/protocol/insert_spec.rb
1345
- - spec/mongo/protocol/delete_spec.rb
1346
- - spec/mongo/protocol/query_spec.rb
1347
- - spec/mongo/protocol/reply_spec.rb
1348
- - spec/mongo/protocol/get_more_spec.rb
1349
- - spec/mongo/protocol/kill_cursors_spec.rb
1350
- - spec/mongo/protocol/registry_spec.rb
1351
- - spec/mongo/protocol/compressed_spec.rb
1352
- - spec/mongo/monitoring/command_log_subscriber_spec.rb
1353
- - spec/mongo/monitoring/event/topology_changed_spec.rb
1354
- - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
1355
- - spec/mongo/monitoring/event/command_succeeded_spec.rb
1356
- - spec/mongo/monitoring/event/secure_spec.rb
1357
- - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
1358
- - spec/mongo/monitoring/event/command_started_spec.rb
1359
- - spec/mongo/monitoring/event/topology_opening_spec.rb
1360
- - spec/mongo/monitoring/event/server_closed_spec.rb
1361
- - spec/mongo/monitoring/event/command_failed_spec.rb
1362
- - spec/mongo/monitoring/event/topology_closed_spec.rb
1363
- - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
1364
- - spec/mongo/monitoring/event/server_description_changed_spec.rb
1365
- - spec/mongo/monitoring/event/server_opening_spec.rb
1366
- - spec/mongo/error/parser_spec.rb
1367
- - spec/mongo/error/operation_failure_spec.rb
1368
- - spec/mongo/error/no_server_available_spec.rb
1369
- - spec/mongo/uri/srv_protocol_spec.rb
1370
- - spec/mongo/client_construction_spec.rb
1371
- - spec/mongo/event/subscriber_spec.rb
1372
- - spec/mongo/event/publisher_spec.rb
1373
- - spec/mongo/id_spec.rb
1374
- - spec/mongo/cluster/cursor_reaper_spec.rb
1375
- - spec/mongo/cluster/topology/single_spec.rb
1376
- - spec/mongo/cluster/topology/replica_set_spec.rb
1377
- - spec/mongo/cluster/topology/unknown_spec.rb
1378
- - spec/mongo/cluster/topology/sharded_spec.rb
1379
- - spec/mongo/cluster/topology_spec.rb
1380
- - spec/mongo/cluster/socket_reaper_spec.rb
1381
- - spec/mongo/database_spec.rb
1382
- - spec/mongo/socket_spec.rb
1383
- - spec/mongo/monitoring_spec.rb
1384
- - spec/mongo/index/view_spec.rb
1385
- - spec/mongo/collection_spec.rb
1386
- - spec/mongo/grid/stream/read_spec.rb
1387
- - spec/mongo/grid/stream/write_spec.rb
1388
- - spec/mongo/grid/fs_bucket_spec.rb
1389
- - spec/mongo/grid/file_spec.rb
1390
- - spec/mongo/grid/file/chunk_spec.rb
1391
- - spec/mongo/grid/file/info_spec.rb
1392
- - spec/mongo/grid/stream_spec.rb
1393
- - spec/mongo/collection/view/builder/find_command_spec.rb
1394
- - spec/mongo/collection/view/builder/modifiers_spec.rb
1395
- - spec/mongo/collection/view/builder/flags_spec.rb
1396
- - spec/mongo/collection/view/builder/op_query_spec.rb
1397
- - spec/mongo/collection/view/change_stream_spec.rb
1398
- - spec/mongo/collection/view/explainable_spec.rb
1399
- - spec/mongo/collection/view/map_reduce_spec.rb
1400
- - spec/mongo/collection/view/aggregation_spec.rb
1401
- - spec/mongo/collection/view/writable_spec.rb
1402
- - spec/mongo/collection/view/immutable_spec.rb
1403
- - spec/mongo/collection/view/readable_spec.rb
1404
- - spec/mongo/collection/view_spec.rb
1405
- - spec/mongo/options/redacted_spec.rb
1406
- - spec/mongo/write_concern/unacknowledged_spec.rb
1407
- - spec/mongo/write_concern/acknowledged_spec.rb
1408
- - spec/mongo/bulk_write/unordered_combiner_spec.rb
1409
- - spec/mongo/bulk_write/ordered_combiner_spec.rb
1410
- - spec/mongo/bulk_write/result_spec.rb
1411
- - spec/mongo/cursor/builder/get_more_command_spec.rb
1412
- - spec/mongo/cursor/builder/op_get_more_spec.rb
1413
- - spec/mongo/operation/update_spec.rb
1414
- - spec/mongo/operation/aggregate/result_spec.rb
1415
- - spec/mongo/operation/insert_spec.rb
1416
- - spec/mongo/operation/read_preference_spec.rb
1417
- - spec/mongo/operation/insert/command_spec.rb
1418
- - spec/mongo/operation/insert/bulk_spec.rb
1419
- - spec/mongo/operation/insert/op_msg_spec.rb
1420
- - spec/mongo/operation/command_spec.rb
1421
- - spec/mongo/operation/create_user_spec.rb
1422
- - spec/mongo/operation/map_reduce_spec.rb
1423
- - spec/mongo/operation/limited_spec.rb
1424
- - spec/mongo/operation/delete_spec.rb
1425
- - spec/mongo/operation/create_index_spec.rb
1426
- - spec/mongo/operation/specifiable_spec.rb
1427
- - spec/mongo/operation/collections_info_spec.rb
1428
- - spec/mongo/operation/indexes_spec.rb
1429
- - spec/mongo/operation/delete/command_spec.rb
1430
- - spec/mongo/operation/delete/bulk_spec.rb
1431
- - spec/mongo/operation/delete/op_msg_spec.rb
1432
- - spec/mongo/operation/drop_index_spec.rb
1433
- - spec/mongo/operation/update/command_spec.rb
1434
- - spec/mongo/operation/update/bulk_spec.rb
1435
- - spec/mongo/operation/update/op_msg_spec.rb
1436
- - spec/mongo/operation/result_spec.rb
1437
- - spec/mongo/operation/aggregate_spec.rb
1438
- - spec/mongo/operation/update_user_spec.rb
1439
- - spec/mongo/operation/get_more_spec.rb
1440
- - spec/mongo/operation/find/legacy_spec.rb
1441
- - spec/mongo/operation/kill_cursors_spec.rb
1442
- - spec/mongo/operation/remove_user_spec.rb
1443
- - spec/lite_spec_helper.rb
1444
- - spec/integration/retryable_writes_spec.rb
1445
- - spec/integration/change_stream_spec.rb
1446
- - spec/integration/client_connectivity_spec.rb
1447
- - spec/integration/sdam_events_spec.rb
1448
- - spec/integration/connect_single_rs_name_spec.rb
1449
- - spec/integration/connection_spec.rb
1450
- - spec/integration/operation_failure_code_spec.rb
1451
- - spec/integration/server_description_spec.rb
1452
- - spec/integration/time_zone_querying_spec.rb
1453
- - spec/integration/client_construction_spec.rb
1454
- - spec/integration/reconnect_spec.rb
1455
- - spec/integration/bulk_insert_spec.rb
1456
- - spec/integration/cursor_reaping_spec.rb
1457
- - spec/integration/shell_examples_spec.rb
1458
- - spec/integration/transactions_examples_spec.rb
1459
- - spec/integration/change_stream_examples_spec.rb
1460
- - spec/integration/heartbeat_events_spec.rb
1461
- - spec/integration/docs_examples_spec.rb
1462
- - spec/integration/command_monitoring_spec.rb
1463
- - spec/support/command_monitoring.rb
1464
- - spec/support/certificates/password_protected.pem
1465
- - spec/support/certificates/client_cert.pem
1466
- - spec/support/certificates/crl.pem
1467
- - spec/support/certificates/client_key_encrypted.pem
1468
- - spec/support/certificates/client.pem
1469
- - spec/support/certificates/client_key.pem
1470
- - spec/support/certificates/crl_client_revoked.pem
1471
- - spec/support/certificates/server.pem
1472
- - spec/support/certificates/ca.pem
1473
- - spec/support/common_shortcuts.rb
1474
- - spec/support/primary_socket.rb
1475
- - spec/support/client_registry_macros.rb
1476
- - spec/support/transactions.rb
1477
- - spec/support/matchers.rb
1478
- - spec/support/client_registry.rb
1479
- - spec/support/constraints.rb
1480
- - spec/support/json_ext_formatter.rb
1481
- - spec/support/change_streams/operation.rb
1482
- - spec/support/gridfs.rb
1483
- - spec/support/lite_constraints.rb
1484
- - spec/support/transactions/verifier.rb
1485
- - spec/support/transactions/operation.rb
1486
- - spec/support/spec_config.rb
1487
- - spec/support/spec_setup.rb
1488
- - spec/support/cluster_config.rb
1489
- - spec/support/connection_string.rb
1490
- - spec/support/server_discovery_and_monitoring.rb
1491
- - spec/support/server_selection_rtt.rb
1492
- - spec/support/sdam_monitoring.rb
1493
- - spec/support/authorization.rb
1494
- - spec/support/crud/read.rb
1495
- - spec/support/crud/write.rb
1496
- - spec/support/crud/verifier.rb
1497
- - spec/support/shared/session.rb
1498
- - spec/support/shared/server_selector.rb
1499
- - spec/support/shared/protocol.rb
1500
- - spec/support/crud.rb
1501
- - spec/support/event_subscriber.rb
1502
- - spec/support/change_streams.rb
1503
- - spec/support/server_selection.rb
1504
- - spec/support/sdam_formatter_integration.rb
1505
- - spec/support/monitoring_ext.rb
1506
- - spec/atlas/atlas_connectivity_spec.rb