mongo 2.11.4 → 2.11.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3363520c62689e2f649389acd84f68b46dba99a62d82c174c77414f66e055dd
4
- data.tar.gz: 7b1a54bcc8657047ec15b61cdf39588965fc9328d0ac56aa294f7891ef7fb3e2
3
+ metadata.gz: 8c345d3cf6aa92723002548f8e1e14be65bdfb0969eb05756d510f51a7a6b4ec
4
+ data.tar.gz: 306c19eafbaee190b5f865beedc5a149b46c5d45aeae509f85390c6e554c25e2
5
5
  SHA512:
6
- metadata.gz: 546bfab9a6042f6194f87efc8f19fa92ee9828040d1f34a98045e243cce6f056837e4144856a37803f964cf345724ccfdeb6eb2d407f265b4a02e7a14622f0a1
7
- data.tar.gz: 9eb09ae2c44b3cee7cd9c082af7702b0acd4b56674a6c17b3959c05f654987b3b34f6d87c8d74d9863f312addc01a8de090899a879847d014fa0e7c9baa217d6
6
+ metadata.gz: 80389668e920fe61e0aedad8ae4bf6973cc3f3f150a7e6a49514aee5aec7e062e00851abcabd273efacffc2c080373d0036cc74e49f3fab8607ab133f901e1b8
7
+ data.tar.gz: 41c28e98cef6df75eb38e4a043c3c4bfce8623a3f68a10522a02d22984a31d0283af5113d8dd8c4ba37aa7df373ff400a9a1359acb9731c1a433c370976b2aa7
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -185,7 +185,9 @@ module Mongo
185
185
  pipeline << { :'$limit' => opts[:limit] } if opts[:limit]
186
186
  pipeline << { :'$group' => { _id: 1, n: { :'$sum' => 1 } } }
187
187
 
188
- opts.select! { |k, _| [:hint, :max_time_ms, :read, :collation, :session].include?(k) }
188
+ opts = opts.select { |k, _| [:hint, :max_time_ms, :read, :collation, :session].include?(k) }
189
+ opts[:collation] ||= collation
190
+
189
191
  first = aggregate(pipeline, opts).first
190
192
  return 0 unless first
191
193
  first['n'].to_i
@@ -104,6 +104,11 @@ module Mongo
104
104
  # chunk objects and assemble the data. If we have an IO object, then
105
105
  # it's the original file data and we must split it into chunks and set
106
106
  # the original data itself.
107
+ #
108
+ # @param [ IO, String, Array<BSON::Document> ] value The file object,
109
+ # file contents or chunk documents.
110
+ #
111
+ # @return [ Array<Grid::File::Chunk> ] Array of chunks.
107
112
  def initialize_chunks!(value)
108
113
  if value.is_a?(Array)
109
114
  @chunks = value.map{ |doc| Chunk.new(doc) }
@@ -151,6 +151,7 @@ module Mongo
151
151
  # @return [ String ] The assembled data.
152
152
  #
153
153
  # @since 2.0.0
154
+ # @api private
154
155
  def assemble(chunks)
155
156
  chunks.reduce(''){ |data, chunk| data << chunk.data.data }
156
157
  end
@@ -167,6 +168,7 @@ module Mongo
167
168
  # @return [ Array<Chunk> ] The chunks of the data.
168
169
  #
169
170
  # @since 2.0.0
171
+ # @api private
170
172
  def split(io, file_info, offset = 0)
171
173
  io = StringIO.new(io) if io.is_a?(String)
172
174
  parts = Enumerator.new { |y| y << io.read(file_info.chunk_size) until io.eof? }
@@ -177,7 +177,7 @@ module Mongo
177
177
  #
178
178
  # @since 2.0.0
179
179
  def prefix
180
- @options[:fs_name] || @options[:bucket_name]|| DEFAULT_ROOT
180
+ @options[:fs_name] || @options[:bucket_name] || DEFAULT_ROOT
181
181
  end
182
182
 
183
183
  # Remove a single file from the GridFS.
@@ -230,7 +230,8 @@ module Mongo
230
230
  #
231
231
  # @since 2.1.0
232
232
  def open_download_stream(id, options = nil)
233
- read_stream(id, options).tap do |stream|
233
+ options = Hash[(options || {}).map { |k, v| [k.to_sym, v] }]
234
+ read_stream(id, **options).tap do |stream|
234
235
  if block_given?
235
236
  begin
236
237
  yield stream
@@ -348,15 +349,15 @@ module Mongo
348
349
  download_to_stream(open_download_stream_by_name(filename, opts).file_id, io)
349
350
  end
350
351
 
351
- # Opens an upload stream to GridFS to which the contents of a user file came be written.
352
+ # Opens an upload stream to GridFS to which the contents of a file or
353
+ # blob can be written.
352
354
  #
353
- # @example Open a stream to which the contents of a file came be written.
354
- # fs.open_upload_stream('a-file.txt')
355
- #
356
- # @param [ String ] filename The filename of the file to upload.
355
+ # @param [ String ] filename The name of the file in GridFS.
357
356
  # @param [ Hash ] opts The options for the write stream.
358
357
  #
359
- # @option opts [ Object ] :file_id An optional unique file id. An ObjectId is generated otherwise.
358
+ # @option opts [ Object ] :file_id An optional unique file id.
359
+ # A BSON::ObjectId is automatically generated if a file id is not
360
+ # provided.
360
361
  # @option opts [ Integer ] :chunk_size Override the default chunk size.
361
362
  # @option opts [ Hash ] :metadata User data for the 'metadata' field of the files
362
363
  # collection document.
@@ -375,7 +376,8 @@ module Mongo
375
376
  #
376
377
  # @since 2.1.0
377
378
  def open_upload_stream(filename, opts = {})
378
- write_stream(filename, opts).tap do |stream|
379
+ opts = Hash[opts.map { |k, v| [k.to_sym, v] }]
380
+ write_stream(filename, **opts).tap do |stream|
379
381
  if block_given?
380
382
  begin
381
383
  yield stream
@@ -462,12 +464,12 @@ module Mongo
462
464
  #
463
465
  # @option opts [ BSON::Document ] :file_info_doc For internal
464
466
  # driver use only. A BSON document to use as file information.
465
- def read_stream(id, opts = nil)
466
- Stream.get(self, Stream::READ_MODE, { file_id: id }.update(options).update(opts || {}))
467
+ def read_stream(id, **opts)
468
+ Stream.get(self, Stream::READ_MODE, { file_id: id }.update(options).update(opts))
467
469
  end
468
470
 
469
- def write_stream(filename, opts)
470
- Stream.get(self, Stream::WRITE_MODE, { filename: filename }.merge!(options).merge!(opts))
471
+ def write_stream(filename, **opts)
472
+ Stream.get(self, Stream::WRITE_MODE, { filename: filename }.update(options).update(opts))
471
473
  end
472
474
 
473
475
  def chunks_name
@@ -82,12 +82,12 @@ module Mongo
82
82
  @open = true
83
83
  end
84
84
 
85
- # Write to the GridFS bucket from the source stream.
85
+ # Write to the GridFS bucket from the source stream or a string.
86
86
  #
87
87
  # @example Write to GridFS.
88
88
  # stream.write(io)
89
89
  #
90
- # @param [ IO ] io The source io stream to upload from.
90
+ # @param [ String | IO ] io The string or IO object to upload from.
91
91
  #
92
92
  # @return [ Stream::Write ] self The write stream itself.
93
93
  #
@@ -95,7 +95,13 @@ module Mongo
95
95
  def write(io)
96
96
  ensure_open!
97
97
  @indexes ||= ensure_indexes!
98
- @length += io.size
98
+ @length += if io.respond_to?(:bytesize)
99
+ # String objects
100
+ io.bytesize
101
+ else
102
+ # IO objects
103
+ io.size
104
+ end
99
105
  chunks = File::Chunk.split(io, file_info, @n)
100
106
  @n += chunks.size
101
107
  chunks_collection.insert_many(chunks) unless chunks.empty?
@@ -17,5 +17,5 @@ module Mongo
17
17
  # The current version of the driver.
18
18
  #
19
19
  # @since 2.0.0
20
- VERSION = '2.11.4'.freeze
20
+ VERSION = '2.11.5'.freeze
21
21
  end
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'GridFS bucket integration' do
4
+ let(:fs) do
5
+ authorized_client.database.fs
6
+ end
7
+
8
+ describe 'UTF-8 string write' do
9
+ let(:data) { "hello\u2210" }
10
+
11
+ before do
12
+ data.length.should_not == data.bytesize
13
+ end
14
+
15
+ shared_examples 'round-trips' do
16
+ it 'round-trips' do
17
+ stream = fs.open_upload_stream('test') do |stream|
18
+ stream.write(data_to_write)
19
+ end
20
+
21
+ actual = nil
22
+ fs.open_download_stream(stream.file_id) do |stream|
23
+ actual = stream.read
24
+ end
25
+
26
+ actual.encoding.name.should == 'ASCII-8BIT'
27
+ actual.should == data.dup.force_encoding('binary')
28
+ end
29
+ end
30
+
31
+ context 'in binary encoding' do
32
+ let(:data_to_write) do
33
+ data.force_encoding('binary').freeze
34
+ end
35
+
36
+ it_behaves_like 'round-trips'
37
+ end
38
+
39
+ context 'in UTF-8 encoding' do
40
+ let(:data_to_write) do
41
+ data.encoding.name.should == 'UTF-8'
42
+ data.freeze
43
+ end
44
+
45
+ it_behaves_like 'round-trips'
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,98 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'BSON & command size limits' do
4
+ let(:max_document_size) { 16*1024*1024 }
5
+
6
+ before do
7
+ authorized_collection.delete_many
8
+ end
9
+
10
+ # This test uses a large document that is significantly smaller than the
11
+ # size limit. It is a basic sanity check.
12
+ it 'allows user-provided documents to be 15MiB' do
13
+ document = { key: 'a' * 15*1024*1024, _id: 'foo' }
14
+
15
+ authorized_collection.insert_one(document)
16
+ end
17
+
18
+ # This test uses a large document that is significantly larger than the
19
+ # size limit. It is a basic sanity check.
20
+ it 'fails single write of oversized documents' do
21
+ document = { key: 'a' * 17*1024*1024, _id: 'foo' }
22
+
23
+ lambda do
24
+ authorized_collection.insert_one(document)
25
+ end.should raise_error(Mongo::Error::MaxBSONSize, /The document exceeds maximum allowed BSON object size after serialization/)
26
+ end
27
+
28
+ # This test checks our bulk write splitting when documents are not close
29
+ # to the limit, but where splitting is definitely required.
30
+ it 'allows split bulk write of medium sized documents' do
31
+ # 8 documents of 4 MiB each = 32 MiB total data, should be split over
32
+ # either 2 or 3 bulk writes depending on how well the driver splits
33
+ documents = []
34
+ 1.upto(8) do |index|
35
+ documents << { key: 'a' * 4*1024*1024, _id: "in#{index}" }
36
+ end
37
+
38
+ authorized_collection.insert_many(documents)
39
+ authorized_collection.count_documents({}).should == 8
40
+ end
41
+
42
+ # This test ensures that document which are too big definitely fail insertion.
43
+ it 'fails bulk write of oversized documents' do
44
+ documents = []
45
+ 1.upto(3) do |index|
46
+ documents << { key: 'a' * 17*1024*1024, _id: "in#{index}" }
47
+ end
48
+
49
+ lambda do
50
+ authorized_collection.insert_many(documents)
51
+ end.should raise_error(Mongo::Error::MaxBSONSize, /The document exceeds maximum allowed BSON object size after serialization/)
52
+ authorized_collection.count_documents({}).should == 0
53
+ end
54
+
55
+ it 'allows user-provided documents to be exactly 16MiB' do
56
+ # The document must contain the _id field, otherwise the server will
57
+ # add it which will increase the size of the document as persisted by
58
+ # the server.
59
+ document = { key: 'a' * (max_document_size - 28), _id: 'foo' }
60
+ expect(document.to_bson.length).to eq(max_document_size)
61
+
62
+ authorized_collection.insert_one(document)
63
+ end
64
+
65
+ it 'fails on the server when a document larger than 16MiB is inserted' do
66
+ document = { key: 'a' * (max_document_size - 27), _id: 'foo' }
67
+ expect(document.to_bson.length).to eq(max_document_size+1)
68
+
69
+ lambda do
70
+ authorized_collection.insert_one(document)
71
+ end.should raise_error(Mongo::Error::OperationFailure, /object to insert too large/)
72
+ end
73
+
74
+ it 'fails in the driver when a document larger than 16MiB+16KiB is inserted' do
75
+ document = { key: 'a' * (max_document_size - 27 + 16*1024), _id: 'foo' }
76
+ expect(document.to_bson.length).to eq(max_document_size+16*1024+1)
77
+
78
+ lambda do
79
+ authorized_collection.insert_one(document)
80
+ end.should raise_error(Mongo::Error::MaxBSONSize, /The document exceeds maximum allowed BSON object size after serialization/)
81
+ end
82
+
83
+ it 'allows bulk writes of multiple documents of exactly 16 MiB each' do
84
+ if SpecConfig.instance.compressors
85
+ pending "RUBY-2234"
86
+ end
87
+
88
+ documents = []
89
+ 1.upto(3) do |index|
90
+ document = { key: 'a' * (max_document_size - 28), _id: "in#{index}" }
91
+ expect(document.to_bson.length).to eq(max_document_size)
92
+ documents << document
93
+ end
94
+
95
+ authorized_collection.insert_many(documents)
96
+ authorized_collection.count_documents({}).should == 3
97
+ end
98
+ end
@@ -945,6 +945,30 @@ describe Mongo::Collection do
945
945
  it_behaves_like 'a failed operation using a session'
946
946
  end
947
947
  end
948
+
949
+ context 'when collation has a strength' do
950
+ min_server_fcv '3.4'
951
+
952
+ let(:band_collection) do
953
+ described_class.new(database, :bands)
954
+ end
955
+
956
+ before do
957
+ band_collection.delete_many
958
+ band_collection.insert_many([{ name: "Depeche Mode" }, { name: "New Order" }])
959
+ end
960
+
961
+ let(:options) do
962
+ { collation: { locale: 'en_US', strength: 2 } }
963
+ end
964
+ let(:band_result) do
965
+ band_collection.find({ name: 'DEPECHE MODE' }, options)
966
+ end
967
+
968
+ it 'finds Capitalize from UPPER CASE' do
969
+ expect(band_result.count_documents).to eq(1)
970
+ end
971
+ end
948
972
  end
949
973
 
950
974
  describe '#drop' do
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.11.4
4
+ version: 2.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -31,7 +31,7 @@ cert_chain:
31
31
  gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
32
32
  Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
33
33
  -----END CERTIFICATE-----
34
- date: 2020-03-09 00:00:00.000000000 Z
34
+ date: 2020-07-17 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bson
@@ -467,6 +467,7 @@ files:
467
467
  - spec/integration/docs_examples_spec.rb
468
468
  - spec/integration/error_detection_spec.rb
469
469
  - spec/integration/get_more_spec.rb
470
+ - spec/integration/grid_fs_bucket_spec.rb
470
471
  - spec/integration/heartbeat_events_spec.rb
471
472
  - spec/integration/mmapv1_spec.rb
472
473
  - spec/integration/mongos_pinning_spec.rb
@@ -484,6 +485,8 @@ files:
484
485
  - spec/integration/server_selector_spec.rb
485
486
  - spec/integration/server_spec.rb
486
487
  - spec/integration/shell_examples_spec.rb
488
+ - spec/integration/size_limit_spec.rb~12e1e9c4f... RUBY-2242 Fix zlib compression
489
+ (#2021)
487
490
  - spec/integration/srv_monitoring_spec.rb
488
491
  - spec/integration/ssl_uri_options_spec.rb
489
492
  - spec/integration/step_down_spec.rb
@@ -1183,713 +1186,716 @@ signing_key:
1183
1186
  specification_version: 4
1184
1187
  summary: Ruby driver for MongoDB
1185
1188
  test_files:
1186
- - spec/support/background_thread_registry.rb
1187
- - spec/support/change_streams.rb
1188
- - spec/support/change_streams/operation.rb
1189
- - spec/support/server_discovery_and_monitoring.rb
1190
- - spec/support/server_selection.rb
1191
- - spec/support/certificates/client-x509.pem
1192
- - spec/support/certificates/client-int.crt
1193
- - spec/support/certificates/README.md
1194
- - spec/support/certificates/server-second-level.key
1195
- - spec/support/certificates/client-second-level-bundle.pem
1196
- - spec/support/certificates/server.pem
1197
- - spec/support/certificates/client-x509.key
1198
- - spec/support/certificates/client-second-level.key
1199
- - spec/support/certificates/crl_client_revoked.pem
1200
- - spec/support/certificates/server-second-level.pem
1201
- - spec/support/certificates/client-x509.crt
1202
- - spec/support/certificates/client.pem
1203
- - spec/support/certificates/client-encrypted.key
1204
- - spec/support/certificates/multi-ca.crt
1205
- - spec/support/certificates/crl.pem
1206
- - spec/support/certificates/server-int.crt
1207
- - spec/support/certificates/client.key
1208
- - spec/support/certificates/ca.crt
1209
- - spec/support/certificates/python-ca.crt
1210
- - spec/support/certificates/client-second-level.crt
1211
- - spec/support/certificates/client.crt
1212
- - spec/support/certificates/client-second-level.pem
1213
- - spec/support/certificates/server-second-level.crt
1214
- - spec/support/certificates/server-second-level-bundle.pem
1215
- - spec/support/utils.rb
1216
- - spec/support/cluster_config.rb
1217
- - spec/support/client_registry.rb
1218
- - spec/support/auth.rb
1219
- - spec/support/sdam_formatter_integration.rb
1220
- - spec/support/constraints.rb
1221
- - spec/support/connection_string.rb
1222
- - spec/support/sdam_monitoring.rb
1223
- - spec/support/json_ext_formatter.rb
1224
- - spec/support/cmap/verifier.rb
1225
- - spec/support/shared/protocol.rb
1226
- - spec/support/shared/server_selector.rb
1227
- - spec/support/shared/session.rb
1228
- - spec/support/dns.rb
1229
- - spec/support/cmap.rb
1230
- - spec/support/authorization.rb
1231
- - spec/support/crud/spec.rb
1232
- - spec/support/crud/test_base.rb
1233
- - spec/support/crud/context.rb
1234
- - spec/support/crud/operation.rb
1235
- - spec/support/crud/test.rb
1236
- - spec/support/crud/verifier.rb
1237
- - spec/support/crud/requirement.rb
1238
- - spec/support/crud/outcome.rb
1239
- - spec/support/common_shortcuts.rb
1240
- - spec/support/monitoring_ext.rb
1241
- - spec/support/client_registry_macros.rb
1242
- - spec/support/gridfs.rb
1243
- - spec/support/server_selection_rtt.rb
1244
- - spec/support/matchers.rb
1245
- - spec/support/command_monitoring.rb
1246
- - spec/support/primary_socket.rb
1247
- - spec/support/spec_config.rb
1248
- - spec/support/event_subscriber.rb
1249
- - spec/support/local_resource_registry.rb
1250
- - spec/support/crud.rb
1251
- - spec/support/transactions.rb
1252
- - spec/support/cluster_tools.rb
1253
- - spec/support/transactions/spec.rb
1254
- - spec/support/transactions/context.rb
1255
- - spec/support/transactions/operation.rb
1256
- - spec/support/transactions/test.rb
1257
- - spec/support/spec_setup.rb
1258
- - spec/support/lite_constraints.rb
1259
- - spec/README.md
1260
- - spec/integration/client_options_spec.rb
1261
- - spec/integration/ssl_uri_options_spec.rb
1262
- - spec/integration/crud_spec.rb
1263
- - spec/integration/get_more_spec.rb
1264
- - spec/integration/step_down_spec.rb
1265
- - spec/integration/read_concern_spec.rb
1266
- - spec/integration/server_description_spec.rb
1267
- - spec/integration/connection_spec.rb
1268
- - spec/integration/operation_failure_code_spec.rb
1269
- - spec/integration/error_detection_spec.rb
1270
- - spec/integration/connect_single_rs_name_spec.rb
1271
- - spec/integration/mmapv1_spec.rb
1272
- - spec/integration/sdam_events_spec.rb
1273
- - spec/integration/shell_examples_spec.rb
1274
- - spec/integration/cursor_reaping_spec.rb
1275
- - spec/integration/client_spec.rb
1276
- - spec/integration/server_spec.rb
1277
- - spec/integration/client_construction_spec.rb
1278
- - spec/integration/server_selector_spec.rb
1279
- - spec/integration/retryable_writes_spec.rb
1280
- - spec/integration/retryable_errors_spec.rb
1281
- - spec/integration/connection_pool_populator_spec.rb
1282
- - spec/integration/bson_symbol_spec.rb
1283
- - spec/integration/change_stream_examples_spec.rb
1284
- - spec/integration/transactions_examples_spec.rb
1285
- - spec/integration/srv_monitoring_spec.rb
1286
- - spec/integration/command_monitoring_spec.rb
1287
- - spec/integration/read_preference_spec.rb
1288
- - spec/integration/reconnect_spec.rb
1289
- - spec/integration/client_connectivity_spec.rb
1290
- - spec/integration/bulk_insert_spec.rb
1291
- - spec/integration/auth_spec.rb
1292
- - spec/integration/command_spec.rb
1293
- - spec/integration/change_stream_spec.rb
1294
- - spec/integration/time_zone_querying_spec.rb
1295
- - spec/integration/mongos_pinning_spec.rb
1296
- - spec/integration/heartbeat_events_spec.rb
1297
- - spec/integration/retryable_writes_errors_spec.rb
1298
- - spec/integration/docs_examples_spec.rb
1299
- - spec/integration/sdam_error_handling_spec.rb
1300
- - spec/integration/server_monitor_spec.rb
1301
- - spec/USERS.md
1302
- - spec/mongo/cursor_spec.rb
1303
- - spec/mongo/collection_spec.rb
1304
- - spec/mongo/server/round_trip_time_averager_spec.rb
1305
- - spec/mongo/server/app_metadata_spec.rb
1306
- - spec/mongo/server/monitor/app_metadata_spec.rb
1307
- - spec/mongo/server/monitor/connection_spec.rb
1308
- - spec/mongo/server/connection_spec.rb
1309
- - spec/mongo/server/monitor_spec.rb
1310
- - spec/mongo/server/connection_auth_spec.rb
1311
- - spec/mongo/server/description/features_spec.rb
1312
- - spec/mongo/server/description_spec.rb
1313
- - spec/mongo/server/connection_pool/populator_spec.rb
1314
- - spec/mongo/server/connection_pool_spec.rb
1315
- - spec/mongo/server/description_query_methods_spec.rb
1316
- - spec/mongo/session_spec.rb
1317
- - spec/mongo/grid/stream_spec.rb
1318
- - spec/mongo/grid/stream/write_spec.rb
1319
- - spec/mongo/grid/stream/read_spec.rb
1320
- - spec/mongo/grid/file_spec.rb
1321
- - spec/mongo/grid/file/chunk_spec.rb
1322
- - spec/mongo/grid/file/info_spec.rb
1323
- - spec/mongo/grid/fs_bucket_spec.rb
1324
- - spec/mongo/logger_spec.rb
1325
- - spec/mongo/cursor/builder/op_get_more_spec.rb
1326
- - spec/mongo/cursor/builder/op_kill_cursors_spec.rb
1327
- - spec/mongo/cursor/builder/get_more_command_spec.rb
1328
- - spec/mongo/server_selector/primary_spec.rb
1329
- - spec/mongo/server_selector/secondary_spec.rb
1330
- - spec/mongo/server_selector/nearest_spec.rb
1331
- - spec/mongo/server_selector/secondary_preferred_spec.rb
1332
- - spec/mongo/server_selector/primary_preferred_spec.rb
1333
- - spec/mongo/error/no_server_available_spec.rb
1334
- - spec/mongo/error/operation_failure_spec.rb
1335
- - spec/mongo/error/parser_spec.rb
1336
- - spec/mongo/retryable_spec.rb
1337
- - spec/mongo/write_concern_spec.rb
1338
- - spec/mongo/uri_option_parsing_spec.rb
1339
- - spec/mongo/lint_spec.rb
1340
- - spec/mongo/dbref_spec.rb
1341
- - spec/mongo/cluster_time_spec.rb
1342
- - spec/mongo/options/redacted_spec.rb
1343
- - spec/mongo/srv/monitor_spec.rb
1344
- - spec/mongo/srv/result_spec.rb
1345
- - spec/mongo/client_spec.rb
1346
- - spec/mongo/server_spec.rb
1347
- - spec/mongo/client_construction_spec.rb
1348
- - spec/mongo/monitoring/command_log_subscriber_spec.rb
1349
- - spec/mongo/monitoring/event/server_opening_spec.rb
1350
- - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
1351
- - spec/mongo/monitoring/event/server_description_changed_spec.rb
1352
- - spec/mongo/monitoring/event/command_succeeded_spec.rb
1353
- - spec/mongo/monitoring/event/command_failed_spec.rb
1354
- - spec/mongo/monitoring/event/command_started_spec.rb
1355
- - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
1356
- - spec/mongo/monitoring/event/topology_changed_spec.rb
1357
- - spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb
1358
- - spec/mongo/monitoring/event/cmap/connection_created_spec.rb
1359
- - spec/mongo/monitoring/event/cmap/pool_created_spec.rb
1360
- - spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb
1361
- - spec/mongo/monitoring/event/cmap/connection_ready_spec.rb
1362
- - spec/mongo/monitoring/event/cmap/connection_closed_spec.rb
1363
- - spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb
1364
- - spec/mongo/monitoring/event/cmap/pool_closed_spec.rb
1365
- - spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb
1366
- - spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb
1367
- - spec/mongo/monitoring/event/server_closed_spec.rb
1368
- - spec/mongo/monitoring/event/topology_closed_spec.rb
1369
- - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
1370
- - spec/mongo/monitoring/event/secure_spec.rb
1371
- - spec/mongo/monitoring/event/topology_opening_spec.rb
1372
- - spec/mongo/socket/unix_spec.rb
1373
- - spec/mongo/socket/tcp_spec.rb
1374
- - spec/mongo/socket/ssl_spec.rb
1375
- - spec/mongo/server_selector_spec.rb
1376
- - spec/mongo/address/ipv6_spec.rb
1377
- - spec/mongo/address/validator_spec.rb
1378
- - spec/mongo/address/ipv4_spec.rb
1379
- - spec/mongo/address/unix_spec.rb
1380
- - spec/mongo/session_transaction_spec.rb
1381
- - spec/mongo/uri_spec.rb
1382
- - spec/mongo/monitoring_spec.rb
1383
- - spec/mongo/socket_spec.rb
1384
- - spec/mongo/collection/view_spec.rb
1385
- - spec/mongo/collection/view/explainable_spec.rb
1386
- - spec/mongo/collection/view/aggregation_spec.rb
1387
- - spec/mongo/collection/view/map_reduce_spec.rb
1388
- - spec/mongo/collection/view/immutable_spec.rb
1389
- - spec/mongo/collection/view/builder/op_query_spec.rb
1390
- - spec/mongo/collection/view/builder/find_command_spec.rb
1391
- - spec/mongo/collection/view/builder/flags_spec.rb
1392
- - spec/mongo/collection/view/builder/modifiers_spec.rb
1393
- - spec/mongo/collection/view/readable_spec.rb
1394
- - spec/mongo/collection/view/writable_spec.rb
1395
- - spec/mongo/collection/view/change_stream_spec.rb
1396
- - spec/mongo/database_spec.rb
1397
- - spec/mongo/index/view_spec.rb
1398
- - spec/mongo/operation/limited_spec.rb
1399
- - spec/mongo/operation/map_reduce_spec.rb
1400
- - spec/mongo/operation/get_more_spec.rb
1401
- - spec/mongo/operation/specifiable_spec.rb
1402
- - spec/mongo/operation/collections_info_spec.rb
1403
- - spec/mongo/operation/aggregate/result_spec.rb
1404
- - spec/mongo/operation/delete_spec.rb
1405
- - spec/mongo/operation/delete/op_msg_spec.rb
1406
- - spec/mongo/operation/delete/bulk_spec.rb
1407
- - spec/mongo/operation/delete/command_spec.rb
1408
- - spec/mongo/operation/create_index_spec.rb
1409
- - spec/mongo/operation/update/op_msg_spec.rb
1410
- - spec/mongo/operation/update/bulk_spec.rb
1411
- - spec/mongo/operation/update/command_spec.rb
1412
- - spec/mongo/operation/create_user_spec.rb
1413
- - spec/mongo/operation/update_spec.rb
1414
- - spec/mongo/operation/update_user_spec.rb
1415
- - spec/mongo/operation/result_spec.rb
1416
- - spec/mongo/operation/indexes_spec.rb
1417
- - spec/mongo/operation/find/legacy_spec.rb
1418
- - spec/mongo/operation/drop_index_spec.rb
1419
- - spec/mongo/operation/aggregate_spec.rb
1420
- - spec/mongo/operation/kill_cursors_spec.rb
1421
- - spec/mongo/operation/insert/op_msg_spec.rb
1422
- - spec/mongo/operation/insert/bulk_spec.rb
1423
- - spec/mongo/operation/insert/command_spec.rb
1424
- - spec/mongo/operation/read_preference_spec.rb
1425
- - spec/mongo/operation/command_spec.rb
1426
- - spec/mongo/operation/insert_spec.rb
1427
- - spec/mongo/operation/remove_user_spec.rb
1428
- - spec/mongo/bulk_write/unordered_combiner_spec.rb
1429
- - spec/mongo/bulk_write/ordered_combiner_spec.rb
1430
- - spec/mongo/bulk_write/result_spec.rb
1431
- - spec/mongo/id_spec.rb
1432
- - spec/mongo/auth/ldap_spec.rb
1433
- - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1434
- - spec/mongo/auth/invalid_mechanism_spec.rb
1435
- - spec/mongo/auth/user_spec.rb
1436
- - spec/mongo/auth/ldap/conversation_spec.rb
1437
- - spec/mongo/auth/stringprep_spec.rb
1438
- - spec/mongo/auth/scram/negotiation_spec.rb
1439
- - spec/mongo/auth/scram/conversation_spec.rb
1440
- - spec/mongo/auth/cr_spec.rb
1441
- - spec/mongo/auth/x509_spec.rb
1442
- - spec/mongo/auth/x509/conversation_spec.rb
1443
- - spec/mongo/auth/scram_spec.rb
1444
- - spec/mongo/auth/user/view_spec.rb
1445
- - spec/mongo/bulk_write_spec.rb
1446
- - spec/mongo/protocol/get_more_spec.rb
1447
- - spec/mongo/protocol/reply_spec.rb
1448
- - spec/mongo/protocol/delete_spec.rb
1449
- - spec/mongo/protocol/update_spec.rb
1450
- - spec/mongo/protocol/registry_spec.rb
1451
- - spec/mongo/protocol/kill_cursors_spec.rb
1452
- - spec/mongo/protocol/query_spec.rb
1453
- - spec/mongo/protocol/msg_spec.rb
1454
- - spec/mongo/protocol/insert_spec.rb
1455
- - spec/mongo/protocol/compressed_spec.rb
1456
- - spec/mongo/session/session_pool_spec.rb
1457
- - spec/mongo/session/server_session_spec.rb
1458
- - spec/mongo/auth_spec.rb
1459
- - spec/mongo/write_concern/acknowledged_spec.rb
1460
- - spec/mongo/write_concern/unacknowledged_spec.rb
1461
- - spec/mongo/cluster/srv_monitor_spec.rb
1462
- - spec/mongo/cluster/topology_spec.rb
1463
- - spec/mongo/cluster/socket_reaper_spec.rb
1464
- - spec/mongo/cluster/cursor_reaper_spec.rb
1465
- - spec/mongo/cluster/periodic_executor_spec.rb
1466
- - spec/mongo/cluster/topology/unknown_spec.rb
1467
- - spec/mongo/cluster/topology/sharded_spec.rb
1468
- - spec/mongo/cluster/topology/single_spec.rb
1469
- - spec/mongo/cluster/topology/replica_set_spec.rb
1470
- - spec/mongo/bson_spec.rb
1471
- - spec/mongo/cluster_spec.rb
1472
- - spec/mongo/address_spec.rb
1473
- - spec/mongo/event/publisher_spec.rb
1474
- - spec/mongo/event/subscriber_spec.rb
1475
- - spec/mongo/uri/srv_protocol_spec.rb
1189
+ - spec/spec_helper.rb
1190
+ - spec/USERS.md
1191
+ - spec/README.md
1192
+ - spec/lite_spec_helper.rb
1476
1193
  - spec/atlas/operations_spec.rb
1477
1194
  - spec/atlas/atlas_connectivity_spec.rb
1478
- - spec/enterprise_auth/kerberos_spec.rb
1479
- - spec/stress/connection_pool_timing_spec.rb
1480
- - spec/stress/connection_pool_stress_spec.rb
1481
- - spec/lite_spec_helper.rb
1482
- - spec/spec_helper.rb
1483
- - spec/spec_tests/data/transactions_api/transaction-options.yml
1484
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
1485
- - spec/spec_tests/data/transactions_api/callback-aborts.yml
1486
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
1487
- - spec/spec_tests/data/transactions_api/commit-retry.yml
1488
- - spec/spec_tests/data/transactions_api/callback-retry.yml
1489
- - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
1490
- - spec/spec_tests/data/transactions_api/callback-commits.yml
1491
- - spec/spec_tests/data/transactions_api/commit.yml
1492
- - spec/spec_tests/data/change_streams/change-streams-errors.yml
1493
- - spec/spec_tests/data/change_streams/change-streams.yml
1494
- - spec/spec_tests/data/command_monitoring/deleteMany.yml
1495
- - spec/spec_tests/data/command_monitoring/bulkWrite.yml
1496
- - spec/spec_tests/data/command_monitoring/updateOne.yml
1497
- - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
1498
- - spec/spec_tests/data/command_monitoring/find.yml
1499
- - spec/spec_tests/data/command_monitoring/insertOne.yml
1500
- - spec/spec_tests/data/command_monitoring/command.yml
1501
- - spec/spec_tests/data/command_monitoring/updateMany.yml
1502
- - spec/spec_tests/data/command_monitoring/deleteOne.yml
1503
- - spec/spec_tests/data/command_monitoring/insertMany.yml
1504
- - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
1505
- - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
1506
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
1507
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
1508
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
1509
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml
1510
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
1511
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml
1512
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
1513
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
1514
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
1515
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
1516
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
1517
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
1518
- - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
1519
- - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
1520
- - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
1521
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
1522
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
1523
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
1524
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
1525
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
1526
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
1527
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
1528
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
1529
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
1530
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
1531
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
1532
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
1533
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
1534
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
1535
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
1536
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
1537
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
1538
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
1539
- - spec/spec_tests/data/gridfs/download_by_name.yml
1540
- - spec/spec_tests/data/gridfs/download.yml
1541
- - spec/spec_tests/data/gridfs/upload.yml
1542
- - spec/spec_tests/data/gridfs/delete.yml
1195
+ - spec/spec_tests/retryable_writes_spec.rb
1196
+ - spec/spec_tests/uri_options_spec.rb
1197
+ - spec/spec_tests/server_selection_rtt_spec.rb
1198
+ - spec/spec_tests/change_streams_spec.rb
1199
+ - spec/spec_tests/command_monitoring_spec.rb
1200
+ - spec/spec_tests/connection_string_spec.rb
1201
+ - spec/spec_tests/retryable_reads_spec.rb
1202
+ - spec/spec_tests/server_selection_spec.rb
1203
+ - spec/spec_tests/max_staleness_spec.rb
1204
+ - spec/spec_tests/transactions_spec.rb
1205
+ - spec/spec_tests/dns_seedlist_discovery_spec.rb
1206
+ - spec/spec_tests/auth_spec.rb
1207
+ - spec/spec_tests/transactions_api_spec.rb
1208
+ - spec/spec_tests/read_write_concern_document_spec.rb
1209
+ - spec/spec_tests/read_write_concern_connection_string_spec.rb
1210
+ - spec/spec_tests/sdam_spec.rb
1211
+ - spec/spec_tests/crud_spec.rb
1212
+ - spec/spec_tests/gridfs_spec.rb
1213
+ - spec/spec_tests/sdam_monitoring_spec.rb
1214
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
1215
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
1216
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
1217
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
1218
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
1219
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
1220
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
1221
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
1222
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
1223
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
1224
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
1225
+ - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1226
+ - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
1227
+ - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
1228
+ - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
1229
+ - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
1230
+ - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1543
1231
  - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
1232
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
1233
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
1234
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
1235
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
1544
1236
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
1237
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
1238
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
1545
1239
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
1546
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
1547
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
1548
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
1549
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
1550
1240
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
1241
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
1242
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1243
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
1551
1244
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
1552
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
1553
1245
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
1554
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
1555
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
1556
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1557
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
1558
- - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
1559
- - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
1560
- - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1561
- - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
1562
- - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
1563
- - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1564
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
1565
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
1566
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
1567
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
1568
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
1569
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
1570
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
1571
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
1572
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
1573
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
1574
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
1575
- - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
1576
- - spec/spec_tests/data/connection_string/valid-warnings.yml
1577
- - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
1578
- - spec/spec_tests/data/connection_string/invalid-uris.yml
1579
- - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
1580
- - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
1581
- - spec/spec_tests/data/connection_string/valid-auth.yml
1582
- - spec/spec_tests/data/connection_string/valid-options.yml
1583
- - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1584
- - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1585
- - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1246
+ - spec/spec_tests/data/uri_options/concern-options.yml
1247
+ - spec/spec_tests/data/uri_options/connection-pool-options.yml
1248
+ - spec/spec_tests/data/uri_options/connection-options.yml
1249
+ - spec/spec_tests/data/uri_options/tls-options.yml
1250
+ - spec/spec_tests/data/uri_options/read-preference-options.yml
1251
+ - spec/spec_tests/data/uri_options/auth-options.yml
1252
+ - spec/spec_tests/data/uri_options/compression-options.yml
1586
1253
  - spec/spec_tests/data/retryable_writes/deleteMany.yml
1587
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1588
- - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1589
- - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1590
- - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1591
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1592
1254
  - spec/spec_tests/data/retryable_writes/updateOne.yml
1593
- - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1594
- - spec/spec_tests/data/retryable_writes/insertOne.yml
1255
+ - spec/spec_tests/data/retryable_writes/deleteOne.yml
1256
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1595
1257
  - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
1258
+ - spec/spec_tests/data/retryable_writes/insertOne.yml
1596
1259
  - spec/spec_tests/data/retryable_writes/replaceOne.yml
1597
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1598
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1599
1260
  - spec/spec_tests/data/retryable_writes/updateMany.yml
1600
- - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1601
- - spec/spec_tests/data/retryable_writes/deleteOne.yml
1602
1261
  - spec/spec_tests/data/retryable_writes/insertMany.yml
1603
- - spec/spec_tests/data/cmap/pool-checkout-connection.yml
1604
- - spec/spec_tests/data/cmap/pool-create.yml
1605
- - spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml
1606
- - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
1607
- - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
1608
- - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
1609
- - spec/spec_tests/data/cmap/connection-must-have-id.yml
1610
- - spec/spec_tests/data/cmap/connection-must-order-ids.yml
1611
- - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
1612
- - spec/spec_tests/data/cmap/pool-checkin.yml
1613
- - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
1614
- - spec/spec_tests/data/cmap/pool-create-with-options.yml
1262
+ - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1263
+ - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1264
+ - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1265
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1266
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1267
+ - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1268
+ - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1269
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1270
+ - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1271
+ - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1272
+ - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1273
+ - spec/spec_tests/data/transactions_api/callback-retry.yml
1274
+ - spec/spec_tests/data/transactions_api/callback-aborts.yml
1275
+ - spec/spec_tests/data/transactions_api/commit-retry.yml
1276
+ - spec/spec_tests/data/transactions_api/callback-commits.yml
1277
+ - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
1278
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
1279
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
1280
+ - spec/spec_tests/data/transactions_api/transaction-options.yml
1281
+ - spec/spec_tests/data/transactions_api/commit.yml
1282
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1283
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1284
+ - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1285
+ - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1286
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1287
+ - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1288
+ - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1289
+ - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1290
+ - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
1291
+ - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
1292
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1293
+ - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1294
+ - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1295
+ - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1296
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1297
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
1298
+ - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1299
+ - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
1300
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1301
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1302
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1303
+ - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1304
+ - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
1305
+ - spec/spec_tests/data/change_streams/change-streams.yml
1306
+ - spec/spec_tests/data/change_streams/change-streams-errors.yml
1307
+ - spec/spec_tests/data/cmap/pool-create-min-size.yml
1615
1308
  - spec/spec_tests/data/cmap/pool-close.yml
1616
- - spec/spec_tests/data/cmap/pool-checkin-make-available.yml
1617
- - spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml
1309
+ - spec/spec_tests/data/cmap/pool-create-with-options.yml
1618
1310
  - spec/spec_tests/data/cmap/wait-queue-timeout.yml
1619
- - spec/spec_tests/data/cmap/pool-create-min-size.yml
1620
- - spec/spec_tests/data/cmap/wait-queue-fairness.yml
1311
+ - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
1621
1312
  - spec/spec_tests/data/cmap/pool-create-max-size.yml
1622
- - spec/spec_tests/data/sdam_monitoring/standalone.yml
1623
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1624
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1625
- - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1626
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1627
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1628
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml
1629
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_change.yml
1630
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1313
+ - spec/spec_tests/data/cmap/wait-queue-fairness.yml
1314
+ - spec/spec_tests/data/cmap/pool-checkin-make-available.yml
1315
+ - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
1316
+ - spec/spec_tests/data/cmap/pool-checkout-connection.yml
1317
+ - spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml
1318
+ - spec/spec_tests/data/cmap/pool-create.yml
1319
+ - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
1320
+ - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
1321
+ - spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml
1322
+ - spec/spec_tests/data/cmap/pool-checkin.yml
1323
+ - spec/spec_tests/data/cmap/connection-must-order-ids.yml
1324
+ - spec/spec_tests/data/cmap/connection-must-have-id.yml
1325
+ - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
1326
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
1327
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
1328
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
1329
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
1330
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
1331
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
1332
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
1333
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
1334
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
1335
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
1336
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
1337
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
1338
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
1339
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
1340
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
1341
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
1342
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
1343
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
1344
+ - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
1345
+ - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
1346
+ - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
1347
+ - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
1348
+ - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
1349
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml
1350
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
1351
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
1352
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
1353
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
1354
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
1355
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
1356
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
1357
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
1358
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml
1359
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
1360
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
1631
1361
  - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
1362
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1632
1363
  - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1364
+ - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1633
1365
  - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
1366
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml
1634
1367
  - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1635
- - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1368
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1369
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1636
1370
  - spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml
1637
- - spec/spec_tests/data/uri_options/tls-options.yml
1638
- - spec/spec_tests/data/uri_options/compression-options.yml
1639
- - spec/spec_tests/data/uri_options/connection-options.yml
1640
- - spec/spec_tests/data/uri_options/auth-options.yml
1641
- - spec/spec_tests/data/uri_options/connection-pool-options.yml
1642
- - spec/spec_tests/data/uri_options/read-preference-options.yml
1643
- - spec/spec_tests/data/uri_options/concern-options.yml
1644
- - spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml
1645
- - spec/spec_tests/data/crud_v2/updateWithPipelines.yml
1646
- - spec/spec_tests/data/crud_v2/aggregate-merge.yml
1647
- - spec/spec_tests/data/crud_v2/db-aggregate.yml
1648
- - spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml
1649
- - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1650
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1651
- - spec/spec_tests/data/crud/write/findOneAndDelete.yml
1652
- - spec/spec_tests/data/crud/write/bulkWrite-collation.yml
1653
- - spec/spec_tests/data/crud/write/deleteMany.yml
1654
- - spec/spec_tests/data/crud/write/deleteOne-collation.yml
1655
- - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1656
- - spec/spec_tests/data/crud/write/deleteMany-collation.yml
1657
- - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1658
- - spec/spec_tests/data/crud/write/bulkWrite.yml
1659
- - spec/spec_tests/data/crud/write/updateOne.yml
1660
- - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
1661
- - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
1662
- - spec/spec_tests/data/crud/write/insertOne.yml
1663
- - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1664
- - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1665
- - spec/spec_tests/data/crud/write/updateMany-collation.yml
1666
- - spec/spec_tests/data/crud/write/replaceOne.yml
1667
- - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1668
- - spec/spec_tests/data/crud/write/replaceOne-collation.yml
1669
- - spec/spec_tests/data/crud/write/updateOne-collation.yml
1670
- - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1671
- - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1672
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1673
- - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1674
- - spec/spec_tests/data/crud/write/updateMany.yml
1675
- - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1676
- - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
1677
- - spec/spec_tests/data/crud/write/deleteOne.yml
1678
- - spec/spec_tests/data/crud/write/insertMany.yml
1679
- - spec/spec_tests/data/crud/read/distinct.yml
1680
- - spec/spec_tests/data/crud/read/distinct-collation.yml
1681
- - spec/spec_tests/data/crud/read/find.yml
1682
- - spec/spec_tests/data/crud/read/count.yml
1683
- - spec/spec_tests/data/crud/read/count-empty.yml
1684
- - spec/spec_tests/data/crud/read/aggregate-out.yml
1685
- - spec/spec_tests/data/crud/read/find-collation.yml
1686
- - spec/spec_tests/data/crud/read/aggregate.yml
1687
- - spec/spec_tests/data/crud/read/count-collation.yml
1688
- - spec/spec_tests/data/crud/read/aggregate-collation.yml
1689
- - spec/spec_tests/data/retryable_reads/listCollections.yml
1690
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml
1691
- - spec/spec_tests/data/retryable_reads/listCollectionObjects.yml
1371
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1372
+ - spec/spec_tests/data/sdam_monitoring/standalone.yml
1373
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_change.yml
1374
+ - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1375
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1376
+ - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
1377
+ - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
1378
+ - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
1379
+ - spec/spec_tests/data/connection_string/valid-warnings.yml
1380
+ - spec/spec_tests/data/connection_string/valid-auth.yml
1381
+ - spec/spec_tests/data/connection_string/invalid-uris.yml
1382
+ - spec/spec_tests/data/connection_string/valid-options.yml
1383
+ - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
1384
+ - spec/spec_tests/data/gridfs/download.yml
1385
+ - spec/spec_tests/data/gridfs/download_by_name.yml
1386
+ - spec/spec_tests/data/gridfs/upload.yml
1387
+ - spec/spec_tests/data/gridfs/delete.yml
1388
+ - spec/spec_tests/data/transactions/bulk.yml
1389
+ - spec/spec_tests/data/transactions/errors.yml
1390
+ - spec/spec_tests/data/transactions/isolation.yml
1391
+ - spec/spec_tests/data/transactions/read-pref.yml
1392
+ - spec/spec_tests/data/transactions/retryable-abort.yml
1393
+ - spec/spec_tests/data/transactions/abort.yml
1394
+ - spec/spec_tests/data/transactions/findOneAndReplace.yml
1395
+ - spec/spec_tests/data/transactions/retryable-commit.yml
1396
+ - spec/spec_tests/data/transactions/transaction-options-repl.yml
1397
+ - spec/spec_tests/data/transactions/mongos-pin-auto.yml
1398
+ - spec/spec_tests/data/transactions/insert.yml
1399
+ - spec/spec_tests/data/transactions/findOneAndDelete.yml
1400
+ - spec/spec_tests/data/transactions/findOneAndUpdate.yml
1401
+ - spec/spec_tests/data/transactions/delete.yml
1402
+ - spec/spec_tests/data/transactions/mongos-recovery-token.yml
1403
+ - spec/spec_tests/data/transactions/retryable-writes.yml
1404
+ - spec/spec_tests/data/transactions/count.yml
1405
+ - spec/spec_tests/data/transactions/transaction-options.yml
1406
+ - spec/spec_tests/data/transactions/read-concern.yml
1407
+ - spec/spec_tests/data/transactions/pin-mongos.yml
1408
+ - spec/spec_tests/data/transactions/update.yml
1409
+ - spec/spec_tests/data/transactions/error-labels.yml
1410
+ - spec/spec_tests/data/transactions/causal-consistency.yml
1411
+ - spec/spec_tests/data/transactions/errors-client.yml
1412
+ - spec/spec_tests/data/transactions/commit.yml
1413
+ - spec/spec_tests/data/transactions/reads.yml
1414
+ - spec/spec_tests/data/transactions/write-concern.yml
1415
+ - spec/spec_tests/data/transactions/run-command.yml
1692
1416
  - spec/spec_tests/data/retryable_reads/listIndexes.yml
1693
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml
1694
- - spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml
1695
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml
1696
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml
1417
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml
1418
+ - spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml
1419
+ - spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml
1420
+ - spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml
1697
1421
  - spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml
1422
+ - spec/spec_tests/data/retryable_reads/listCollections.yml
1698
1423
  - spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml
1699
- - spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml
1700
- - spec/spec_tests/data/retryable_reads/findOne.yml
1701
- - spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml
1702
- - spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml
1703
- - spec/spec_tests/data/retryable_reads/distinct.yml
1704
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml
1705
- - spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml
1706
- - spec/spec_tests/data/retryable_reads/listCollectionNames.yml
1707
- - spec/spec_tests/data/retryable_reads/find.yml
1708
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml
1709
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml
1710
- - spec/spec_tests/data/retryable_reads/listDatabases.yml
1711
- - spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml
1424
+ - spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml
1712
1425
  - spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml
1713
- - spec/spec_tests/data/retryable_reads/listIndexNames.yml
1426
+ - spec/spec_tests/data/retryable_reads/find-serverErrors.yml
1427
+ - spec/spec_tests/data/retryable_reads/findOne.yml
1714
1428
  - spec/spec_tests/data/retryable_reads/mapReduce.yml
1715
- - spec/spec_tests/data/retryable_reads/count-serverErrors.yml
1716
- - spec/spec_tests/data/retryable_reads/aggregate-merge.yml
1717
1429
  - spec/spec_tests/data/retryable_reads/countDocuments.yml
1718
- - spec/spec_tests/data/retryable_reads/count.yml
1430
+ - spec/spec_tests/data/retryable_reads/listIndexNames.yml
1431
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml
1432
+ - spec/spec_tests/data/retryable_reads/listDatabases.yml
1433
+ - spec/spec_tests/data/retryable_reads/aggregate-merge.yml
1434
+ - spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml
1719
1435
  - spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml
1720
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml
1721
- - spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml
1436
+ - spec/spec_tests/data/retryable_reads/listCollectionNames.yml
1437
+ - spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml
1438
+ - spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml
1439
+ - spec/spec_tests/data/retryable_reads/distinct.yml
1440
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml
1722
1441
  - spec/spec_tests/data/retryable_reads/gridfs-download.yml
1442
+ - spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml
1723
1443
  - spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml
1724
- - spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml
1725
- - spec/spec_tests/data/retryable_reads/find-serverErrors.yml
1726
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml
1727
- - spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml
1444
+ - spec/spec_tests/data/retryable_reads/find.yml
1445
+ - spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml
1728
1446
  - spec/spec_tests/data/retryable_reads/aggregate.yml
1447
+ - spec/spec_tests/data/retryable_reads/count.yml
1448
+ - spec/spec_tests/data/retryable_reads/count-serverErrors.yml
1449
+ - spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml
1729
1450
  - spec/spec_tests/data/retryable_reads/listDatabaseNames.yml
1730
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml
1731
- - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
1732
- - spec/spec_tests/data/sdam/single/not_ok_response.yml
1451
+ - spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml
1452
+ - spec/spec_tests/data/retryable_reads/listCollectionObjects.yml
1453
+ - spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml
1454
+ - spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml
1455
+ - spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml
1456
+ - spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml
1457
+ - spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml
1458
+ - spec/spec_tests/data/command_monitoring/deleteMany.yml
1459
+ - spec/spec_tests/data/command_monitoring/updateOne.yml
1460
+ - spec/spec_tests/data/command_monitoring/deleteOne.yml
1461
+ - spec/spec_tests/data/command_monitoring/insertOne.yml
1462
+ - spec/spec_tests/data/command_monitoring/updateMany.yml
1463
+ - spec/spec_tests/data/command_monitoring/insertMany.yml
1464
+ - spec/spec_tests/data/command_monitoring/find.yml
1465
+ - spec/spec_tests/data/command_monitoring/command.yml
1466
+ - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
1467
+ - spec/spec_tests/data/command_monitoring/bulkWrite.yml
1468
+ - spec/spec_tests/data/crud/read/find-collation.yml
1469
+ - spec/spec_tests/data/crud/read/aggregate-out.yml
1470
+ - spec/spec_tests/data/crud/read/aggregate-collation.yml
1471
+ - spec/spec_tests/data/crud/read/count-empty.yml
1472
+ - spec/spec_tests/data/crud/read/distinct.yml
1473
+ - spec/spec_tests/data/crud/read/distinct-collation.yml
1474
+ - spec/spec_tests/data/crud/read/find.yml
1475
+ - spec/spec_tests/data/crud/read/aggregate.yml
1476
+ - spec/spec_tests/data/crud/read/count.yml
1477
+ - spec/spec_tests/data/crud/read/count-collation.yml
1478
+ - spec/spec_tests/data/crud/write/deleteMany.yml
1479
+ - spec/spec_tests/data/crud/write/updateOne-collation.yml
1480
+ - spec/spec_tests/data/crud/write/updateOne.yml
1481
+ - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
1482
+ - spec/spec_tests/data/crud/write/deleteOne.yml
1483
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1484
+ - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1485
+ - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1486
+ - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1487
+ - spec/spec_tests/data/crud/write/insertOne.yml
1488
+ - spec/spec_tests/data/crud/write/replaceOne.yml
1489
+ - spec/spec_tests/data/crud/write/deleteOne-collation.yml
1490
+ - spec/spec_tests/data/crud/write/updateMany.yml
1491
+ - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1492
+ - spec/spec_tests/data/crud/write/insertMany.yml
1493
+ - spec/spec_tests/data/crud/write/bulkWrite-collation.yml
1494
+ - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
1495
+ - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1496
+ - spec/spec_tests/data/crud/write/findOneAndDelete.yml
1497
+ - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1498
+ - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
1499
+ - spec/spec_tests/data/crud/write/replaceOne-collation.yml
1500
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1501
+ - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1502
+ - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1503
+ - spec/spec_tests/data/crud/write/updateMany-collation.yml
1504
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1505
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1506
+ - spec/spec_tests/data/crud/write/deleteMany-collation.yml
1507
+ - spec/spec_tests/data/crud/write/bulkWrite.yml
1508
+ - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
1733
1509
  - spec/spec_tests/data/sdam/single/too_old.yml
1734
- - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
1735
- - spec/spec_tests/data/sdam/single/unavailable_seed.yml
1736
- - spec/spec_tests/data/sdam/single/standalone_removed.yml
1737
- - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
1738
- - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
1739
1510
  - spec/spec_tests/data/sdam/single/compatible.yml
1740
1511
  - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
1741
- - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
1512
+ - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
1513
+ - spec/spec_tests/data/sdam/single/primary_mismatched_me.yml
1514
+ - spec/spec_tests/data/sdam/single/unavailable_seed.yml
1515
+ - spec/spec_tests/data/sdam/single/not_ok_response.yml
1516
+ - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
1742
1517
  - spec/spec_tests/data/sdam/single/primary_address_change.yml
1743
1518
  - spec/spec_tests/data/sdam/single/too_new.yml
1744
- - spec/spec_tests/data/sdam/single/primary_mismatched_me.yml
1745
- - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
1519
+ - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
1746
1520
  - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
1747
- - spec/spec_tests/data/sdam/sharded/too_old.yml
1748
- - spec/spec_tests/data/sdam/sharded/compatible.yml
1749
- - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
1750
- - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
1751
- - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
1752
- - spec/spec_tests/data/sdam/sharded/primary_address_change.yml
1753
- - spec/spec_tests/data/sdam/sharded/too_new.yml
1754
- - spec/spec_tests/data/sdam/sharded/primary_mismatched_me.yml
1755
- - spec/spec_tests/data/sdam/sharded/single_mongos.yml
1756
- - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
1757
- - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
1758
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
1759
- - spec/spec_tests/data/sdam/rs/rsother_discovered.yml
1521
+ - spec/spec_tests/data/sdam/single/standalone_removed.yml
1522
+ - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
1523
+ - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
1524
+ - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
1525
+ - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
1526
+ - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
1527
+ - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
1528
+ - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
1529
+ - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
1530
+ - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
1531
+ - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
1532
+ - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
1533
+ - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
1534
+ - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
1760
1535
  - spec/spec_tests/data/sdam/rs/too_old.yml
1761
- - spec/spec_tests/data/sdam/rs/ls_timeout.yml
1762
- - spec/spec_tests/data/sdam/rs/discover_secondary.yml
1763
- - spec/spec_tests/data/sdam/rs/non_rs_member.yml
1764
- - spec/spec_tests/data/sdam/rs/discover_primary.yml
1765
- - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
1766
1536
  - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
1767
- - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
1768
- - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
1769
- - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
1770
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary_second.yml
1771
- - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
1772
- - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
1773
- - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
1774
1537
  - spec/spec_tests/data/sdam/rs/compatible.yml
1775
- - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
1776
- - spec/spec_tests/data/sdam/rs/new_primary.yml
1777
- - spec/spec_tests/data/sdam/rs/discovery.yml
1778
- - spec/spec_tests/data/sdam/rs/normalize_case.yml
1779
- - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
1780
1538
  - spec/spec_tests/data/sdam/rs/equal_electionids.yml
1781
- - spec/spec_tests/data/sdam/rs/discover_passives.yml
1782
- - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
1539
+ - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
1540
+ - spec/spec_tests/data/sdam/rs/member_reconfig.yml
1541
+ - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
1542
+ - spec/spec_tests/data/sdam/rs/new_primary.yml
1783
1543
  - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
1784
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
1785
- - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
1786
- - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
1787
- - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
1544
+ - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
1545
+ - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
1546
+ - spec/spec_tests/data/sdam/rs/null_election_id.yml
1547
+ - spec/spec_tests/data/sdam/rs/incompatible_other.yml
1548
+ - spec/spec_tests/data/sdam/rs/discover_secondary.yml
1549
+ - spec/spec_tests/data/sdam/rs/discover_primary.yml
1550
+ - spec/spec_tests/data/sdam/rs/normalize_case.yml
1551
+ - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
1552
+ - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
1553
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
1554
+ - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
1555
+ - spec/spec_tests/data/sdam/rs/ghost_discovered.yml
1556
+ - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
1788
1557
  - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
1558
+ - spec/spec_tests/data/sdam/rs/discovery.yml
1789
1559
  - spec/spec_tests/data/sdam/rs/primary_address_change.yml
1560
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
1790
1561
  - spec/spec_tests/data/sdam/rs/too_new.yml
1791
1562
  - spec/spec_tests/data/sdam/rs/member_standalone.yml
1792
- - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
1793
- - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
1794
- - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
1795
- - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
1796
- - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
1797
- - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
1798
- - spec/spec_tests/data/sdam/rs/member_reconfig.yml
1799
- - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
1563
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary_second.yml
1564
+ - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
1565
+ - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
1566
+ - spec/spec_tests/data/sdam/rs/rsother_discovered.yml
1800
1567
  - spec/spec_tests/data/sdam/rs/response_from_removed.yml
1801
- - spec/spec_tests/data/sdam/rs/ghost_discovered.yml
1802
- - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
1803
- - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
1804
- - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
1805
- - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
1806
- - spec/spec_tests/data/sdam/rs/incompatible_other.yml
1807
- - spec/spec_tests/data/sdam/rs/null_election_id.yml
1808
1568
  - spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml
1809
- - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
1569
+ - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
1570
+ - spec/spec_tests/data/sdam/rs/non_rs_member.yml
1571
+ - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
1572
+ - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
1573
+ - spec/spec_tests/data/sdam/rs/ls_timeout.yml
1574
+ - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
1575
+ - spec/spec_tests/data/sdam/rs/discover_passives.yml
1576
+ - spec/spec_tests/data/sdam/sharded/too_old.yml
1577
+ - spec/spec_tests/data/sdam/sharded/compatible.yml
1578
+ - spec/spec_tests/data/sdam/sharded/single_mongos.yml
1579
+ - spec/spec_tests/data/sdam/sharded/primary_mismatched_me.yml
1580
+ - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
1581
+ - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
1582
+ - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
1583
+ - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
1584
+ - spec/spec_tests/data/sdam/sharded/primary_address_change.yml
1585
+ - spec/spec_tests/data/sdam/sharded/too_new.yml
1586
+ - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
1587
+ - spec/spec_tests/data/read_write_concern/document/read-concern.yml
1588
+ - spec/spec_tests/data/read_write_concern/document/write-concern.yml
1589
+ - spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml
1590
+ - spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml
1810
1591
  - spec/spec_tests/data/auth/connection-string.yml
1811
- - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
1812
- - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1813
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1814
- - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
1815
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1816
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1817
- - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1818
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1819
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1820
- - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1821
- - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
1822
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
1823
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1824
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1825
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1826
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1827
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1828
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1829
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1830
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1831
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1832
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1833
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
1834
- - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
1835
- - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
1836
- - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
1837
- - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
1838
- - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
1839
1592
  - spec/spec_tests/data/server_selection_rtt/first_value.yml
1593
+ - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
1594
+ - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
1840
1595
  - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
1841
- - spec/spec_tests/data/read_write_concern/document/write-concern.yml
1842
- - spec/spec_tests/data/read_write_concern/document/read-concern.yml
1843
- - spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml
1844
- - spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml
1845
- - spec/spec_tests/data/transactions/errors.yml
1846
- - spec/spec_tests/data/transactions/update.yml
1847
- - spec/spec_tests/data/transactions/isolation.yml
1848
- - spec/spec_tests/data/transactions/transaction-options.yml
1849
- - spec/spec_tests/data/transactions/write-concern.yml
1850
- - spec/spec_tests/data/transactions/transaction-options-repl.yml
1851
- - spec/spec_tests/data/transactions/errors-client.yml
1852
- - spec/spec_tests/data/transactions/read-pref.yml
1853
- - spec/spec_tests/data/transactions/findOneAndDelete.yml
1854
- - spec/spec_tests/data/transactions/mongos-pin-auto.yml
1855
- - spec/spec_tests/data/transactions/error-labels.yml
1856
- - spec/spec_tests/data/transactions/retryable-commit.yml
1857
- - spec/spec_tests/data/transactions/read-concern.yml
1858
- - spec/spec_tests/data/transactions/bulk.yml
1859
- - spec/spec_tests/data/transactions/pin-mongos.yml
1860
- - spec/spec_tests/data/transactions/reads.yml
1861
- - spec/spec_tests/data/transactions/count.yml
1862
- - spec/spec_tests/data/transactions/findOneAndReplace.yml
1863
- - spec/spec_tests/data/transactions/findOneAndUpdate.yml
1864
- - spec/spec_tests/data/transactions/abort.yml
1865
- - spec/spec_tests/data/transactions/retryable-abort.yml
1866
- - spec/spec_tests/data/transactions/insert.yml
1867
- - spec/spec_tests/data/transactions/retryable-writes.yml
1868
- - spec/spec_tests/data/transactions/causal-consistency.yml
1869
- - spec/spec_tests/data/transactions/run-command.yml
1870
- - spec/spec_tests/data/transactions/delete.yml
1871
- - spec/spec_tests/data/transactions/mongos-recovery-token.yml
1872
- - spec/spec_tests/data/transactions/commit.yml
1873
- - spec/spec_tests/crud_spec.rb
1874
- - spec/spec_tests/max_staleness_spec.rb
1875
- - spec/spec_tests/sdam_spec.rb
1876
- - spec/spec_tests/read_write_concern_document_spec.rb
1877
- - spec/spec_tests/server_selection_rtt_spec.rb
1878
- - spec/spec_tests/change_streams_spec.rb
1879
- - spec/spec_tests/retryable_writes_spec.rb
1880
- - spec/spec_tests/uri_options_spec.rb
1881
- - spec/spec_tests/connection_string_spec.rb
1882
- - spec/spec_tests/transactions_api_spec.rb
1883
- - spec/spec_tests/server_selection_spec.rb
1884
- - spec/spec_tests/command_monitoring_spec.rb
1596
+ - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
1597
+ - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
1598
+ - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
1599
+ - spec/spec_tests/data/crud_v2/db-aggregate.yml
1600
+ - spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml
1601
+ - spec/spec_tests/data/crud_v2/aggregate-merge.yml
1602
+ - spec/spec_tests/data/crud_v2/updateWithPipelines.yml
1603
+ - spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml
1885
1604
  - spec/spec_tests/cmap_spec.rb
1886
- - spec/spec_tests/retryable_reads_spec.rb
1887
- - spec/spec_tests/gridfs_spec.rb
1888
- - spec/spec_tests/read_write_concern_connection_string_spec.rb
1889
- - spec/spec_tests/auth_spec.rb
1890
- - spec/spec_tests/sdam_monitoring_spec.rb
1891
- - spec/spec_tests/transactions_spec.rb
1892
- - spec/spec_tests/dns_seedlist_discovery_spec.rb
1893
- - spec/runners/connection_string.rb
1605
+ - spec/support/authorization.rb
1606
+ - spec/support/shared/session.rb
1607
+ - spec/support/shared/protocol.rb
1608
+ - spec/support/shared/server_selector.rb
1609
+ - spec/support/gridfs.rb
1610
+ - spec/support/transactions.rb
1611
+ - spec/support/change_streams.rb
1612
+ - spec/support/client_registry_macros.rb
1613
+ - spec/support/auth.rb
1614
+ - spec/support/sdam_monitoring.rb
1615
+ - spec/support/change_streams/operation.rb
1616
+ - spec/support/connection_string.rb
1617
+ - spec/support/constraints.rb
1618
+ - spec/support/matchers.rb
1619
+ - spec/support/sdam_formatter_integration.rb
1620
+ - spec/support/cmap/verifier.rb
1621
+ - spec/support/dns.rb
1622
+ - spec/support/json_ext_formatter.rb
1623
+ - spec/support/cmap.rb
1624
+ - spec/support/server_selection.rb
1625
+ - spec/support/transactions/context.rb
1626
+ - spec/support/transactions/spec.rb
1627
+ - spec/support/transactions/operation.rb
1628
+ - spec/support/transactions/test.rb
1629
+ - spec/support/utils.rb
1630
+ - spec/support/server_discovery_and_monitoring.rb
1631
+ - spec/support/primary_socket.rb
1632
+ - spec/support/crud/outcome.rb
1633
+ - spec/support/crud/test_base.rb
1634
+ - spec/support/crud/context.rb
1635
+ - spec/support/crud/spec.rb
1636
+ - spec/support/crud/requirement.rb
1637
+ - spec/support/crud/operation.rb
1638
+ - spec/support/crud/test.rb
1639
+ - spec/support/crud/verifier.rb
1640
+ - spec/support/command_monitoring.rb
1641
+ - spec/support/cluster_config.rb
1642
+ - spec/support/lite_constraints.rb
1643
+ - spec/support/monitoring_ext.rb
1644
+ - spec/support/event_subscriber.rb
1645
+ - spec/support/client_registry.rb
1646
+ - spec/support/spec_config.rb
1647
+ - spec/support/spec_setup.rb
1648
+ - spec/support/common_shortcuts.rb
1649
+ - spec/support/background_thread_registry.rb
1650
+ - spec/support/local_resource_registry.rb
1651
+ - spec/support/server_selection_rtt.rb
1652
+ - spec/support/cluster_tools.rb
1653
+ - spec/support/certificates/multi-ca.crt
1654
+ - spec/support/certificates/client-x509.key
1655
+ - spec/support/certificates/README.md
1656
+ - spec/support/certificates/client-second-level.crt
1657
+ - spec/support/certificates/python-ca.crt
1658
+ - spec/support/certificates/crl.pem
1659
+ - spec/support/certificates/client.crt
1660
+ - spec/support/certificates/client-second-level.key
1661
+ - spec/support/certificates/client.key
1662
+ - spec/support/certificates/client-encrypted.key
1663
+ - spec/support/certificates/server-second-level-bundle.pem
1664
+ - spec/support/certificates/client-second-level.pem
1665
+ - spec/support/certificates/server-int.crt
1666
+ - spec/support/certificates/crl_client_revoked.pem
1667
+ - spec/support/certificates/client-int.crt
1668
+ - spec/support/certificates/client.pem
1669
+ - spec/support/certificates/client-x509.crt
1670
+ - spec/support/certificates/server-second-level.crt
1671
+ - spec/support/certificates/server-second-level.key
1672
+ - spec/support/certificates/client-second-level-bundle.pem
1673
+ - spec/support/certificates/ca.crt
1674
+ - spec/support/certificates/client-x509.pem
1675
+ - spec/support/certificates/server.pem
1676
+ - spec/support/certificates/server-second-level.pem
1677
+ - spec/support/crud.rb
1894
1678
  - spec/runners/read_write_concern_document.rb
1679
+ - spec/runners/connection_string.rb
1895
1680
  - spec/runners/sdam/verifier.rb
1681
+ - spec/enterprise_auth/kerberos_spec.rb
1682
+ - spec/integration/retryable_writes_spec.rb
1683
+ - spec/integration/grid_fs_bucket_spec.rb
1684
+ - spec/integration/mongos_pinning_spec.rb
1685
+ - spec/integration/sdam_error_handling_spec.rb
1686
+ - spec/integration/client_options_spec.rb
1687
+ - spec/integration/server_monitor_spec.rb
1688
+ - spec/integration/bson_symbol_spec.rb
1689
+ - spec/integration/size_limit_spec.rb~12e1e9c4f... RUBY-2242 Fix zlib compression
1690
+ (#2021)
1691
+ - spec/integration/change_stream_spec.rb
1692
+ - spec/integration/heartbeat_events_spec.rb
1693
+ - spec/integration/retryable_writes_errors_spec.rb
1694
+ - spec/integration/command_monitoring_spec.rb
1695
+ - spec/integration/connection_spec.rb
1696
+ - spec/integration/client_construction_spec.rb
1697
+ - spec/integration/connect_single_rs_name_spec.rb
1698
+ - spec/integration/reconnect_spec.rb
1699
+ - spec/integration/ssl_uri_options_spec.rb
1700
+ - spec/integration/mmapv1_spec.rb
1701
+ - spec/integration/docs_examples_spec.rb
1702
+ - spec/integration/get_more_spec.rb
1703
+ - spec/integration/read_preference_spec.rb
1704
+ - spec/integration/auth_spec.rb
1705
+ - spec/integration/retryable_errors_spec.rb
1706
+ - spec/integration/shell_examples_spec.rb
1707
+ - spec/integration/server_spec.rb
1708
+ - spec/integration/change_stream_examples_spec.rb
1709
+ - spec/integration/sdam_events_spec.rb
1710
+ - spec/integration/step_down_spec.rb
1711
+ - spec/integration/read_concern_spec.rb
1712
+ - spec/integration/cursor_reaping_spec.rb
1713
+ - spec/integration/bulk_insert_spec.rb
1714
+ - spec/integration/crud_spec.rb
1715
+ - spec/integration/error_detection_spec.rb
1716
+ - spec/integration/server_description_spec.rb
1717
+ - spec/integration/client_spec.rb
1718
+ - spec/integration/time_zone_querying_spec.rb
1719
+ - spec/integration/command_spec.rb
1720
+ - spec/integration/operation_failure_code_spec.rb
1721
+ - spec/integration/client_connectivity_spec.rb
1722
+ - spec/integration/server_selector_spec.rb
1723
+ - spec/integration/transactions_examples_spec.rb
1724
+ - spec/integration/connection_pool_populator_spec.rb
1725
+ - spec/integration/srv_monitoring_spec.rb
1726
+ - spec/stress/connection_pool_stress_spec.rb
1727
+ - spec/stress/connection_pool_timing_spec.rb
1728
+ - spec/mongo/server/connection_pool/populator_spec.rb
1729
+ - spec/mongo/server/app_metadata_spec.rb
1730
+ - spec/mongo/server/connection_spec.rb
1731
+ - spec/mongo/server/monitor/app_metadata_spec.rb
1732
+ - spec/mongo/server/monitor/connection_spec.rb
1733
+ - spec/mongo/server/connection_pool_spec.rb
1734
+ - spec/mongo/server/description_query_methods_spec.rb
1735
+ - spec/mongo/server/description_spec.rb
1736
+ - spec/mongo/server/connection_auth_spec.rb
1737
+ - spec/mongo/server/description/features_spec.rb
1738
+ - spec/mongo/server/round_trip_time_averager_spec.rb
1739
+ - spec/mongo/server/monitor_spec.rb
1740
+ - spec/mongo/dbref_spec.rb
1741
+ - spec/mongo/collection_spec.rb
1742
+ - spec/mongo/operation/insert_spec.rb
1743
+ - spec/mongo/operation/result_spec.rb
1744
+ - spec/mongo/operation/indexes_spec.rb
1745
+ - spec/mongo/operation/drop_index_spec.rb
1746
+ - spec/mongo/operation/kill_cursors_spec.rb
1747
+ - spec/mongo/operation/create_index_spec.rb
1748
+ - spec/mongo/operation/find/legacy_spec.rb
1749
+ - spec/mongo/operation/aggregate_spec.rb
1750
+ - spec/mongo/operation/delete/op_msg_spec.rb
1751
+ - spec/mongo/operation/delete/command_spec.rb
1752
+ - spec/mongo/operation/delete/bulk_spec.rb
1753
+ - spec/mongo/operation/delete_spec.rb
1754
+ - spec/mongo/operation/specifiable_spec.rb
1755
+ - spec/mongo/operation/get_more_spec.rb
1756
+ - spec/mongo/operation/read_preference_spec.rb
1757
+ - spec/mongo/operation/create_user_spec.rb
1758
+ - spec/mongo/operation/insert/op_msg_spec.rb
1759
+ - spec/mongo/operation/insert/command_spec.rb
1760
+ - spec/mongo/operation/insert/bulk_spec.rb
1761
+ - spec/mongo/operation/remove_user_spec.rb
1762
+ - spec/mongo/operation/limited_spec.rb
1763
+ - spec/mongo/operation/update/op_msg_spec.rb
1764
+ - spec/mongo/operation/update/command_spec.rb
1765
+ - spec/mongo/operation/update/bulk_spec.rb
1766
+ - spec/mongo/operation/collections_info_spec.rb
1767
+ - spec/mongo/operation/command_spec.rb
1768
+ - spec/mongo/operation/update_user_spec.rb
1769
+ - spec/mongo/operation/update_spec.rb
1770
+ - spec/mongo/operation/map_reduce_spec.rb
1771
+ - spec/mongo/operation/aggregate/result_spec.rb
1772
+ - spec/mongo/address/ipv4_spec.rb
1773
+ - spec/mongo/address/ipv6_spec.rb
1774
+ - spec/mongo/address/validator_spec.rb
1775
+ - spec/mongo/address/unix_spec.rb
1776
+ - spec/mongo/protocol/insert_spec.rb
1777
+ - spec/mongo/protocol/reply_spec.rb
1778
+ - spec/mongo/protocol/kill_cursors_spec.rb
1779
+ - spec/mongo/protocol/delete_spec.rb
1780
+ - spec/mongo/protocol/msg_spec.rb
1781
+ - spec/mongo/protocol/query_spec.rb
1782
+ - spec/mongo/protocol/get_more_spec.rb
1783
+ - spec/mongo/protocol/compressed_spec.rb
1784
+ - spec/mongo/protocol/registry_spec.rb
1785
+ - spec/mongo/protocol/update_spec.rb
1786
+ - spec/mongo/cluster/srv_monitor_spec.rb
1787
+ - spec/mongo/cluster/socket_reaper_spec.rb
1788
+ - spec/mongo/cluster/cursor_reaper_spec.rb
1789
+ - spec/mongo/cluster/topology/sharded_spec.rb
1790
+ - spec/mongo/cluster/topology/unknown_spec.rb
1791
+ - spec/mongo/cluster/topology/single_spec.rb
1792
+ - spec/mongo/cluster/topology/replica_set_spec.rb
1793
+ - spec/mongo/cluster/topology_spec.rb
1794
+ - spec/mongo/cluster/periodic_executor_spec.rb
1795
+ - spec/mongo/bulk_write_spec.rb
1796
+ - spec/mongo/index/view_spec.rb
1797
+ - spec/mongo/write_concern_spec.rb
1798
+ - spec/mongo/session/server_session_spec.rb
1799
+ - spec/mongo/session/session_pool_spec.rb
1800
+ - spec/mongo/monitoring/command_log_subscriber_spec.rb
1801
+ - spec/mongo/monitoring/event/command_failed_spec.rb
1802
+ - spec/mongo/monitoring/event/server_description_changed_spec.rb
1803
+ - spec/mongo/monitoring/event/topology_opening_spec.rb
1804
+ - spec/mongo/monitoring/event/secure_spec.rb
1805
+ - spec/mongo/monitoring/event/command_started_spec.rb
1806
+ - spec/mongo/monitoring/event/server_closed_spec.rb
1807
+ - spec/mongo/monitoring/event/topology_changed_spec.rb
1808
+ - spec/mongo/monitoring/event/server_opening_spec.rb
1809
+ - spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb
1810
+ - spec/mongo/monitoring/event/cmap/pool_closed_spec.rb
1811
+ - spec/mongo/monitoring/event/cmap/connection_ready_spec.rb
1812
+ - spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb
1813
+ - spec/mongo/monitoring/event/cmap/connection_created_spec.rb
1814
+ - spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb
1815
+ - spec/mongo/monitoring/event/cmap/pool_created_spec.rb
1816
+ - spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb
1817
+ - spec/mongo/monitoring/event/cmap/connection_closed_spec.rb
1818
+ - spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb
1819
+ - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
1820
+ - spec/mongo/monitoring/event/command_succeeded_spec.rb
1821
+ - spec/mongo/monitoring/event/topology_closed_spec.rb
1822
+ - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
1823
+ - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
1824
+ - spec/mongo/server_selector/secondary_preferred_spec.rb
1825
+ - spec/mongo/server_selector/secondary_spec.rb
1826
+ - spec/mongo/server_selector/primary_spec.rb
1827
+ - spec/mongo/server_selector/primary_preferred_spec.rb
1828
+ - spec/mongo/server_selector/nearest_spec.rb
1829
+ - spec/mongo/options/redacted_spec.rb
1830
+ - spec/mongo/write_concern/acknowledged_spec.rb
1831
+ - spec/mongo/write_concern/unacknowledged_spec.rb
1832
+ - spec/mongo/socket/ssl_spec.rb
1833
+ - spec/mongo/socket/tcp_spec.rb
1834
+ - spec/mongo/socket/unix_spec.rb
1835
+ - spec/mongo/id_spec.rb
1836
+ - spec/mongo/uri/srv_protocol_spec.rb
1837
+ - spec/mongo/client_construction_spec.rb
1838
+ - spec/mongo/cursor/builder/op_kill_cursors_spec.rb
1839
+ - spec/mongo/cursor/builder/get_more_command_spec.rb
1840
+ - spec/mongo/cursor/builder/op_get_more_spec.rb
1841
+ - spec/mongo/session_spec.rb
1842
+ - spec/mongo/error/no_server_available_spec.rb
1843
+ - spec/mongo/error/operation_failure_spec.rb
1844
+ - spec/mongo/error/parser_spec.rb
1845
+ - spec/mongo/database_spec.rb
1846
+ - spec/mongo/auth_spec.rb
1847
+ - spec/mongo/retryable_spec.rb
1848
+ - spec/mongo/bulk_write/result_spec.rb
1849
+ - spec/mongo/bulk_write/ordered_combiner_spec.rb
1850
+ - spec/mongo/bulk_write/unordered_combiner_spec.rb
1851
+ - spec/mongo/server_spec.rb
1852
+ - spec/mongo/uri_spec.rb
1853
+ - spec/mongo/socket_spec.rb
1854
+ - spec/mongo/event/subscriber_spec.rb
1855
+ - spec/mongo/event/publisher_spec.rb
1856
+ - spec/mongo/grid/file/chunk_spec.rb
1857
+ - spec/mongo/grid/file/info_spec.rb
1858
+ - spec/mongo/grid/fs_bucket_spec.rb
1859
+ - spec/mongo/grid/stream/write_spec.rb
1860
+ - spec/mongo/grid/stream/read_spec.rb
1861
+ - spec/mongo/grid/file_spec.rb
1862
+ - spec/mongo/grid/stream_spec.rb
1863
+ - spec/mongo/logger_spec.rb
1864
+ - spec/mongo/address_spec.rb
1865
+ - spec/mongo/collection/view/immutable_spec.rb
1866
+ - spec/mongo/collection/view/change_stream_spec.rb
1867
+ - spec/mongo/collection/view/aggregation_spec.rb
1868
+ - spec/mongo/collection/view/builder/find_command_spec.rb
1869
+ - spec/mongo/collection/view/builder/modifiers_spec.rb
1870
+ - spec/mongo/collection/view/builder/flags_spec.rb
1871
+ - spec/mongo/collection/view/builder/op_query_spec.rb
1872
+ - spec/mongo/collection/view/readable_spec.rb
1873
+ - spec/mongo/collection/view/writable_spec.rb
1874
+ - spec/mongo/collection/view/map_reduce_spec.rb
1875
+ - spec/mongo/collection/view/explainable_spec.rb
1876
+ - spec/mongo/collection/view_spec.rb
1877
+ - spec/mongo/client_spec.rb
1878
+ - spec/mongo/cluster_spec.rb
1879
+ - spec/mongo/bson_spec.rb
1880
+ - spec/mongo/srv/result_spec.rb
1881
+ - spec/mongo/srv/monitor_spec.rb
1882
+ - spec/mongo/session_transaction_spec.rb
1883
+ - spec/mongo/monitoring_spec.rb
1884
+ - spec/mongo/lint_spec.rb
1885
+ - spec/mongo/server_selector_spec.rb
1886
+ - spec/mongo/cursor_spec.rb
1887
+ - spec/mongo/uri_option_parsing_spec.rb
1888
+ - spec/mongo/auth/scram/negotiation_spec.rb
1889
+ - spec/mongo/auth/scram/conversation_spec.rb
1890
+ - spec/mongo/auth/x509_spec.rb
1891
+ - spec/mongo/auth/user_spec.rb
1892
+ - spec/mongo/auth/x509/conversation_spec.rb
1893
+ - spec/mongo/auth/scram_spec.rb
1894
+ - spec/mongo/auth/stringprep_spec.rb
1895
+ - spec/mongo/auth/ldap/conversation_spec.rb
1896
+ - spec/mongo/auth/cr_spec.rb
1897
+ - spec/mongo/auth/user/view_spec.rb
1898
+ - spec/mongo/auth/ldap_spec.rb
1899
+ - spec/mongo/auth/invalid_mechanism_spec.rb
1900
+ - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1901
+ - spec/mongo/cluster_time_spec.rb