mongo 2.13.0.beta1 → 2.13.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +1 -5
  4. data/Rakefile +15 -9
  5. data/lib/mongo.rb +4 -2
  6. data/lib/mongo/auth/aws/request.rb +4 -2
  7. data/lib/mongo/bulk_write.rb +1 -0
  8. data/lib/mongo/client.rb +143 -21
  9. data/lib/mongo/cluster.rb +53 -17
  10. data/lib/mongo/cluster/sdam_flow.rb +13 -10
  11. data/lib/mongo/cluster/topology/replica_set_no_primary.rb +3 -2
  12. data/lib/mongo/cluster/topology/sharded.rb +1 -1
  13. data/lib/mongo/cluster/topology/single.rb +1 -1
  14. data/lib/mongo/collection.rb +17 -13
  15. data/lib/mongo/collection/view/readable.rb +3 -1
  16. data/lib/mongo/collection/view/writable.rb +41 -5
  17. data/lib/mongo/database.rb +31 -4
  18. data/lib/mongo/database/view.rb +19 -4
  19. data/lib/mongo/distinguishing_semaphore.rb +55 -0
  20. data/lib/mongo/error.rb +1 -0
  21. data/lib/mongo/error/invalid_session.rb +2 -1
  22. data/lib/mongo/error/operation_failure.rb +6 -0
  23. data/lib/mongo/error/sessions_not_supported.rb +35 -0
  24. data/lib/mongo/event/base.rb +6 -0
  25. data/lib/mongo/grid/file.rb +5 -0
  26. data/lib/mongo/grid/file/chunk.rb +2 -0
  27. data/lib/mongo/grid/fs_bucket.rb +15 -13
  28. data/lib/mongo/grid/stream/write.rb +9 -3
  29. data/lib/mongo/monitoring.rb +38 -0
  30. data/lib/mongo/monitoring/command_log_subscriber.rb +10 -2
  31. data/lib/mongo/monitoring/event/command_failed.rb +11 -0
  32. data/lib/mongo/monitoring/event/command_started.rb +37 -2
  33. data/lib/mongo/monitoring/event/command_succeeded.rb +11 -0
  34. data/lib/mongo/monitoring/event/server_closed.rb +1 -1
  35. data/lib/mongo/monitoring/event/server_description_changed.rb +27 -4
  36. data/lib/mongo/monitoring/event/server_heartbeat_failed.rb +9 -2
  37. data/lib/mongo/monitoring/event/server_heartbeat_started.rb +9 -2
  38. data/lib/mongo/monitoring/event/server_heartbeat_succeeded.rb +9 -2
  39. data/lib/mongo/monitoring/event/server_opening.rb +1 -1
  40. data/lib/mongo/monitoring/event/topology_changed.rb +1 -1
  41. data/lib/mongo/monitoring/event/topology_closed.rb +1 -1
  42. data/lib/mongo/monitoring/event/topology_opening.rb +1 -1
  43. data/lib/mongo/monitoring/publishable.rb +6 -3
  44. data/lib/mongo/monitoring/server_description_changed_log_subscriber.rb +9 -1
  45. data/lib/mongo/monitoring/topology_changed_log_subscriber.rb +1 -1
  46. data/lib/mongo/protocol/message.rb +36 -8
  47. data/lib/mongo/protocol/msg.rb +14 -0
  48. data/lib/mongo/protocol/serializers.rb +5 -2
  49. data/lib/mongo/server.rb +10 -3
  50. data/lib/mongo/server/connection.rb +4 -4
  51. data/lib/mongo/server/connection_base.rb +3 -1
  52. data/lib/mongo/server/description.rb +5 -0
  53. data/lib/mongo/server/monitor.rb +76 -44
  54. data/lib/mongo/server/monitor/connection.rb +55 -7
  55. data/lib/mongo/server/pending_connection.rb +14 -4
  56. data/lib/mongo/server/push_monitor.rb +173 -0
  57. data/{spec/runners/transactions/context.rb → lib/mongo/server/push_monitor/connection.rb} +9 -14
  58. data/lib/mongo/server_selector.rb +0 -1
  59. data/lib/mongo/server_selector/base.rb +579 -1
  60. data/lib/mongo/server_selector/nearest.rb +1 -6
  61. data/lib/mongo/server_selector/primary.rb +1 -6
  62. data/lib/mongo/server_selector/primary_preferred.rb +7 -10
  63. data/lib/mongo/server_selector/secondary.rb +1 -6
  64. data/lib/mongo/server_selector/secondary_preferred.rb +1 -7
  65. data/lib/mongo/session.rb +2 -0
  66. data/lib/mongo/socket.rb +20 -8
  67. data/lib/mongo/socket/ssl.rb +1 -1
  68. data/lib/mongo/socket/tcp.rb +1 -1
  69. data/lib/mongo/topology_version.rb +9 -0
  70. data/lib/mongo/utils.rb +62 -0
  71. data/lib/mongo/version.rb +1 -1
  72. data/spec/README.aws-auth.md +2 -2
  73. data/spec/integration/awaited_ismaster_spec.rb +28 -0
  74. data/spec/integration/change_stream_examples_spec.rb +6 -2
  75. data/spec/integration/check_clean_slate_spec.rb +16 -0
  76. data/spec/integration/client_construction_spec.rb +1 -0
  77. data/spec/integration/connect_single_rs_name_spec.rb +5 -2
  78. data/spec/integration/connection_spec.rb +7 -4
  79. data/spec/integration/crud_spec.rb +4 -4
  80. data/spec/integration/docs_examples_spec.rb +6 -0
  81. data/spec/integration/grid_fs_bucket_spec.rb +48 -0
  82. data/spec/integration/heartbeat_events_spec.rb +4 -23
  83. data/spec/integration/read_concern_spec.rb +1 -1
  84. data/spec/integration/retryable_errors_spec.rb +1 -1
  85. data/spec/integration/retryable_writes/shared/performs_legacy_retries.rb +2 -2
  86. data/spec/integration/retryable_writes/shared/performs_modern_retries.rb +3 -3
  87. data/spec/integration/retryable_writes/shared/performs_no_retries.rb +2 -2
  88. data/spec/integration/sdam_error_handling_spec.rb +37 -15
  89. data/spec/integration/sdam_events_spec.rb +77 -6
  90. data/spec/integration/sdam_prose_spec.rb +64 -0
  91. data/spec/integration/server_monitor_spec.rb +25 -1
  92. data/spec/integration/size_limit_spec.rb +7 -3
  93. data/spec/integration/size_limit_spec.rb~12e1e9c4f... RUBY-2242 Fix zlib compression (#2021) +98 -0
  94. data/spec/integration/ssl_uri_options_spec.rb +2 -2
  95. data/spec/integration/zlib_compression_spec.rb +25 -0
  96. data/spec/lite_spec_helper.rb +12 -5
  97. data/spec/mongo/auth/aws/request_spec.rb +76 -0
  98. data/spec/mongo/auth/scram_spec.rb +1 -1
  99. data/spec/mongo/client_construction_spec.rb +207 -0
  100. data/spec/mongo/client_spec.rb +38 -3
  101. data/spec/mongo/cluster/topology/replica_set_spec.rb +52 -9
  102. data/spec/mongo/cluster/topology/single_spec.rb +4 -2
  103. data/spec/mongo/cluster_spec.rb +34 -35
  104. data/spec/mongo/collection/view/change_stream_resume_spec.rb +6 -6
  105. data/spec/mongo/collection_spec.rb +500 -0
  106. data/spec/mongo/database_spec.rb +245 -8
  107. data/spec/mongo/distinguishing_semaphore_spec.rb +63 -0
  108. data/spec/mongo/error/operation_failure_spec.rb +40 -0
  109. data/spec/mongo/index/view_spec.rb +2 -2
  110. data/spec/mongo/monitoring/event/server_description_changed_spec.rb +1 -4
  111. data/spec/mongo/protocol/msg_spec.rb +10 -0
  112. data/spec/mongo/semaphore_spec.rb +51 -0
  113. data/spec/mongo/server/connection_auth_spec.rb +2 -2
  114. data/spec/mongo/server_selector/nearest_spec.rb +23 -23
  115. data/spec/mongo/server_selector/primary_preferred_spec.rb +26 -26
  116. data/spec/mongo/server_selector/primary_spec.rb +9 -9
  117. data/spec/mongo/server_selector/secondary_preferred_spec.rb +22 -22
  118. data/spec/mongo/server_selector/secondary_spec.rb +18 -18
  119. data/spec/mongo/server_selector_spec.rb +4 -4
  120. data/spec/mongo/session_spec.rb +35 -0
  121. data/spec/runners/change_streams/test.rb +2 -2
  122. data/spec/runners/cmap.rb +1 -1
  123. data/spec/runners/command_monitoring.rb +3 -34
  124. data/spec/runners/crud/context.rb +9 -5
  125. data/spec/runners/crud/operation.rb +59 -27
  126. data/spec/runners/crud/spec.rb +0 -8
  127. data/spec/runners/crud/test.rb +1 -1
  128. data/spec/runners/sdam.rb +2 -2
  129. data/spec/runners/server_selection.rb +242 -28
  130. data/spec/runners/transactions.rb +12 -12
  131. data/spec/runners/transactions/operation.rb +151 -25
  132. data/spec/runners/transactions/test.rb +60 -16
  133. data/spec/spec_tests/command_monitoring_spec.rb +22 -12
  134. data/spec/spec_tests/crud_spec.rb +1 -1
  135. data/spec/spec_tests/data/change_streams/change-streams-errors.yml +4 -8
  136. data/spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml +66 -0
  137. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml +15 -0
  138. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml +4 -3
  139. data/spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml +1 -0
  140. data/spec/spec_tests/data/sdam_integration/cancel-server-check.yml +96 -0
  141. data/spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml +88 -0
  142. data/spec/spec_tests/data/sdam_integration/find-network-error.yml +83 -0
  143. data/spec/spec_tests/data/sdam_integration/find-shutdown-error.yml +116 -0
  144. data/spec/spec_tests/data/sdam_integration/insert-network-error.yml +86 -0
  145. data/spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml +115 -0
  146. data/spec/spec_tests/data/sdam_integration/isMaster-command-error.yml +168 -0
  147. data/spec/spec_tests/data/sdam_integration/isMaster-network-error.yml +162 -0
  148. data/spec/spec_tests/data/sdam_integration/isMaster-timeout.yml +229 -0
  149. data/spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml +87 -0
  150. data/spec/spec_tests/max_staleness_spec.rb +4 -142
  151. data/spec/spec_tests/retryable_reads_spec.rb +2 -2
  152. data/spec/spec_tests/sdam_integration_spec.rb +13 -0
  153. data/spec/spec_tests/sdam_monitoring_spec.rb +1 -2
  154. data/spec/spec_tests/server_selection_spec.rb +4 -116
  155. data/spec/stress/cleanup_spec.rb +17 -2
  156. data/spec/stress/connection_pool_stress_spec.rb +10 -8
  157. data/spec/support/child_process_helper.rb +78 -0
  158. data/spec/support/client_registry.rb +1 -0
  159. data/spec/support/cluster_config.rb +4 -0
  160. data/spec/support/event_subscriber.rb +123 -33
  161. data/spec/support/keyword_struct.rb +26 -0
  162. data/spec/support/shared/server_selector.rb +13 -1
  163. data/spec/support/spec_config.rb +38 -13
  164. data/spec/support/spec_organizer.rb +129 -0
  165. data/spec/support/spec_setup.rb +1 -1
  166. data/spec/support/utils.rb +46 -0
  167. metadata +992 -942
  168. metadata.gz.sig +0 -0
  169. data/lib/mongo/server_selector/selectable.rb +0 -560
  170. data/spec/runners/sdam_monitoring.rb +0 -89
@@ -0,0 +1,26 @@
1
+ # Intermediate step between a Struct and an OpenStruct. Allows only designated
2
+ # field names to be read or written but allows passing fields to constructor
3
+ # as keyword arguments.
4
+ class KeywordStruct
5
+ def self.new(*field_names, &block)
6
+ Class.new.tap do |cls|
7
+ cls.class_exec do
8
+ define_method(:initialize) do |**fields|
9
+ fields.each do |field, value|
10
+ unless field_names.include?(field)
11
+ raise ArgumentError, "Unknown field #{field}"
12
+ end
13
+
14
+ instance_variable_set("@#{field}", value)
15
+ end
16
+ end
17
+
18
+ attr_accessor *field_names
19
+ end
20
+
21
+ if block_given?
22
+ cls.class_exec(&block)
23
+ end
24
+ end
25
+ end
26
+ end
@@ -22,7 +22,19 @@ shared_context 'server selector' do
22
22
  expect(server.unknown?).to be true
23
23
  end
24
24
  end
25
- let(:options) { { :mode => name, :tag_sets => tag_sets, max_staleness: max_staleness, hedge: hedge } }
25
+ let(:server_selection_timeout_options) do
26
+ {
27
+ server_selection_timeout: 0.1,
28
+ }
29
+ end
30
+ let(:options) do
31
+ {
32
+ mode: name,
33
+ tag_sets: tag_sets,
34
+ max_staleness: max_staleness,
35
+ hedge: hedge,
36
+ }
37
+ end
26
38
  let(:selector) { described_class.new(options) }
27
39
  let(:monitoring) do
28
40
  Mongo::Monitoring.new(monitoring: false)
@@ -74,7 +74,7 @@ class SpecConfig
74
74
  # TLS options need to be merged for evergreen due to
75
75
  # https://github.com/10gen/mongo-orchestration/issues/268
76
76
  client = Mongo::Client.new(addresses, Mongo::Options::Redacted.new(
77
- server_selection_timeout: 5,
77
+ server_selection_timeout: 5.03,
78
78
  ).merge(ssl_options))
79
79
 
80
80
  begin
@@ -99,7 +99,7 @@ class SpecConfig
99
99
  # Environment
100
100
 
101
101
  def ci?
102
- !!ENV['CI']
102
+ %w(1 true yes).include?(ENV['CI']&.downcase)
103
103
  end
104
104
 
105
105
  def mri?
@@ -414,15 +414,19 @@ EOT
414
414
  # means the test suite hangs for about 4 seconds before
415
415
  # failing.
416
416
  # Server selection timeout of 1 is insufficient for evergreen.
417
- server_selection_timeout: uri_options[:server_selection_timeout] || (ssl? ? 4.01 : 2.01),
417
+ server_selection_timeout: uri_options[:server_selection_timeout] || (ssl? ? 8.01 : 7.01),
418
418
 
419
419
  # Since connections are established under the wait queue timeout,
420
420
  # the wait queue timeout should be at least as long as the
421
421
  # connect timeout.
422
- wait_queue_timeout: 4,
423
- connect_timeout: 3,
424
- socket_timeout: 3,
425
- max_idle_time: 5
422
+ wait_queue_timeout: 6.04,
423
+ connect_timeout: 2.91,
424
+ socket_timeout: 5.09,
425
+ max_idle_time: 100.02,
426
+
427
+ # Uncomment to have exceptions in background threads log complete
428
+ # backtraces.
429
+ #bg_error_backtrace: true,
426
430
  }
427
431
  end
428
432
 
@@ -437,6 +441,14 @@ EOT
437
441
  test_options.merge(auth_options)
438
442
  end
439
443
 
444
+ def authorized_test_options
445
+ test_options.merge(credentials_or_external_user(
446
+ user: test_user.name,
447
+ password: test_user.password,
448
+ auth_source: auth_options[:auth_source],
449
+ ))
450
+ end
451
+
440
452
  # User objects
441
453
 
442
454
  # Gets the root system administrator user.
@@ -457,8 +469,8 @@ EOT
457
469
  # Get the default test user for the suite on versions 2.6 and higher.
458
470
  def test_user
459
471
  Mongo::Auth::User.new(
460
- database: test_db,
461
- user: 'test-user',
472
+ database: 'admin',
473
+ user: 'ruby-test-user',
462
474
  password: 'password',
463
475
  roles: [
464
476
  { role: Mongo::Auth::Roles::READ_WRITE, db: test_db },
@@ -472,10 +484,23 @@ EOT
472
484
  { role: Mongo::Auth::Roles::READ_WRITE, db: 'reporting' },
473
485
  { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'reporting' },
474
486
 
475
- # For transaction api spec tests
476
- #{ role: Mongo::Auth::Roles::READ_WRITE, db: 'withTransaction-tests' },
477
- #{ role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'withTransaction-tests' },
478
-
487
+ # For spec tests
488
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'crud-tests' },
489
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'crud-tests' },
490
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'crud-default' },
491
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'crud-default' },
492
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'default_write_concern_db' },
493
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'default_write_concern_db' },
494
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'retryable-reads-tests' },
495
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'retryable-reads-tests' },
496
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'sdam-tests' },
497
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'sdam-tests' },
498
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'transaction-tests' },
499
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'transaction-tests' },
500
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'withTransaction-tests' },
501
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'withTransaction-tests' },
502
+ { role: Mongo::Auth::Roles::READ_WRITE, db: 'admin' },
503
+ { role: Mongo::Auth::Roles::DATABASE_ADMIN, db: 'admin' },
479
504
  ]
480
505
  )
481
506
  end
@@ -0,0 +1,129 @@
1
+ autoload :FileUtils, 'fileutils'
2
+ autoload :Find, 'find'
3
+ autoload :ChildProcessHelper, 'support/child_process_helper'
4
+
5
+ # Organizes and runs all of the tests in the test suite in batches.
6
+ #
7
+ # Organizing the tests in batches serves two purposes:
8
+ #
9
+ # 1. This allows running unit tests before integration tests, therefore
10
+ # in theory revealing failures quicker on average.
11
+ # 2. This allows running some tests that have high intermittent failure rate
12
+ # in their own test process.
13
+ #
14
+ # This class aggregates RSpec results after the test runs.
15
+ class SpecOrganizer
16
+ CLASSIFIERS = [
17
+ [%r,^mongo,, :unit],
18
+ [%r,^kerberos,, :unit],
19
+ [%r,^integration/sdam_error_handling,, :sdam_integration],
20
+ [%r,^integration/cursor_reaping,, :cursor_reaping],
21
+ [%r,^(atlas|integration),, :integration],
22
+ [%r,^spec_tests,, :spec],
23
+ [%r,^spec_tests/sdam_integration,, :spec_sdam_integration],
24
+ ]
25
+
26
+ RUN_PRIORITY = %i(unit
27
+ integration sdam_integration cursor_reaping
28
+ spec spec_sdam_integration
29
+ )
30
+
31
+ SPEC_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
32
+ ROOT = File.expand_path(File.join(SPEC_ROOT, '..'))
33
+ RSPEC_JSON_PATH = File.join(ROOT, 'tmp/rspec.json')
34
+ RSPEC_ALL_JSON_PATH = File.join(ROOT, 'tmp/rspec-all.json')
35
+
36
+ def run
37
+ FileUtils.rm_f(RSPEC_ALL_JSON_PATH)
38
+
39
+ buckets = {}
40
+ Find.find(SPEC_ROOT) do |path|
41
+ next unless File.file?(path)
42
+ next unless path =~ /_spec\.rb\z/
43
+ rel_path = path[(SPEC_ROOT.length + 1)..path.length]
44
+
45
+ found = false
46
+ CLASSIFIERS.each do |(regexp, category)|
47
+ if regexp =~ rel_path
48
+ buckets[category] ||= []
49
+ buckets[category] << rel_path
50
+ found = true
51
+ break
52
+ end
53
+ end
54
+
55
+ unless found
56
+ buckets[nil] ||= []
57
+ buckets[nil] << rel_path
58
+ end
59
+ end
60
+
61
+ failed = []
62
+
63
+ RUN_PRIORITY.each do |category|
64
+ if files = buckets.delete(category)
65
+ unless run_files(category, files)
66
+ failed << category
67
+ end
68
+ end
69
+ end
70
+ if files = buckets.delete(nil)
71
+ unless run_files('remaining', files)
72
+ failed << 'remaining'
73
+ end
74
+ end
75
+
76
+ unless buckets.empty?
77
+ raise "Some buckets were not executed: #{buckets.keys.map(&:to_s).join(', ')}"
78
+ end
79
+
80
+ if failed.any?
81
+ raise "The following buckets failed: #{failed.map(&:to_s).join(', ')}"
82
+ end
83
+ end
84
+
85
+ def run_files(category, paths)
86
+ paths = paths.map do |path|
87
+ File.join('spec', path)
88
+ end
89
+
90
+ puts "Running #{category.to_s.gsub('_', ' ')} tests"
91
+ FileUtils.rm_f(RSPEC_JSON_PATH)
92
+ cmd = %w(rspec) + paths
93
+
94
+ begin
95
+ ChildProcessHelper.check_call(cmd)
96
+ ensure
97
+ if File.exist?(RSPEC_JSON_PATH)
98
+ if File.exist?(RSPEC_ALL_JSON_PATH)
99
+ merge_rspec_results
100
+ else
101
+ FileUtils.cp(RSPEC_JSON_PATH, RSPEC_ALL_JSON_PATH)
102
+ end
103
+ end
104
+ end
105
+
106
+ true
107
+ rescue ChildProcessHelper::SpawnError
108
+ false
109
+ end
110
+
111
+ def merge_rspec_results
112
+ all = JSON.parse(File.read(RSPEC_ALL_JSON_PATH))
113
+ new = JSON.parse(File.read(RSPEC_JSON_PATH))
114
+ all['examples'] += new.delete('examples')
115
+ new.delete('summary').each do |k, v|
116
+ all['summary'][k] += v
117
+ end
118
+ new.delete('version')
119
+ new.delete('summary_line')
120
+ unless new.empty?
121
+ raise "Unhandled rspec results keys: #{new.keys.join(', ')}"
122
+ end
123
+ # We do not merge summary lines, delete them from aggregated results
124
+ all.delete('summary_line')
125
+ File.open(RSPEC_ALL_JSON_PATH, 'w') do |f|
126
+ f << JSON.dump(all)
127
+ end
128
+ end
129
+ end
@@ -43,7 +43,7 @@ class SpecSetup
43
43
  end
44
44
 
45
45
  def create_user(client, user)
46
- users = client.database.users
46
+ users = client.use('admin').database.users
47
47
  begin
48
48
  users.create(user)
49
49
  rescue Mongo::Error::OperationFailure => e
@@ -85,6 +85,15 @@ module Utils
85
85
  end
86
86
  module_function :camelize
87
87
 
88
+ module_function def disable_retries_client_options
89
+ {
90
+ retry_reads: false,
91
+ retry_writes: false,
92
+ max_read_retries: 0,
93
+ max_write_retries: 0,
94
+ }
95
+ end
96
+
88
97
  # Converts camel case clientOptions, as used in spec tests,
89
98
  # to Ruby driver underscore options.
90
99
  def convert_client_options(spec_test_options)
@@ -448,4 +457,41 @@ module Utils
448
457
  exec('/bin/true')
449
458
  end
450
459
  end
460
+
461
+ module_function def subscribe_all(client, subscriber)
462
+ subscribe_all_sdam_proc(subscriber).call(client)
463
+ end
464
+
465
+ module_function def subscribe_all_sdam_proc(subscriber)
466
+ lambda do |client|
467
+ client.subscribe(Mongo::Monitoring::TOPOLOGY_OPENING, subscriber)
468
+ client.subscribe(Mongo::Monitoring::SERVER_OPENING, subscriber)
469
+ client.subscribe(Mongo::Monitoring::SERVER_DESCRIPTION_CHANGED, subscriber)
470
+ client.subscribe(Mongo::Monitoring::TOPOLOGY_CHANGED, subscriber)
471
+ client.subscribe(Mongo::Monitoring::SERVER_CLOSED, subscriber)
472
+ client.subscribe(Mongo::Monitoring::TOPOLOGY_CLOSED, subscriber)
473
+
474
+ client.subscribe(Mongo::Monitoring::SERVER_HEARTBEAT, subscriber)
475
+
476
+ client.subscribe(Mongo::Monitoring::CONNECTION_POOL, subscriber)
477
+
478
+ client.subscribe(Mongo::Monitoring::COMMAND, subscriber)
479
+ end
480
+ end
481
+
482
+ # Creates an event subscriber, subscribes it to command events on the
483
+ # specified client, invokes the passed block, asserts there is exactly one
484
+ # command event published, asserts the command event published has the
485
+ # specified command name, and returns the published event.
486
+ module_function def get_command_event(client, command_name, include_auth: false)
487
+ subscriber = EventSubscriber.new
488
+ client.subscribe(Mongo::Monitoring::COMMAND, subscriber)
489
+ begin
490
+ yield client
491
+ ensure
492
+ client.unsubscribe(Mongo::Monitoring::COMMAND, subscriber)
493
+ end
494
+
495
+ subscriber.single_command_started_event(command_name, include_auth: include_auth)
496
+ end
451
497
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0.beta1
4
+ version: 2.13.0.rc1
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-06-15 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
@@ -171,6 +171,7 @@ files:
171
171
  - lib/mongo/database.rb
172
172
  - lib/mongo/database/view.rb
173
173
  - lib/mongo/dbref.rb
174
+ - lib/mongo/distinguishing_semaphore.rb
174
175
  - lib/mongo/error.rb
175
176
  - lib/mongo/error/auth_error.rb
176
177
  - lib/mongo/error/bulk_write_error.rb
@@ -229,6 +230,7 @@ files:
229
230
  - lib/mongo/error/raise_original_error.rb
230
231
  - lib/mongo/error/sdam_error_detection.rb
231
232
  - lib/mongo/error/session_ended.rb
233
+ - lib/mongo/error/sessions_not_supported.rb
232
234
  - lib/mongo/error/socket_error.rb
233
235
  - lib/mongo/error/socket_timeout_error.rb
234
236
  - lib/mongo/error/unchangeable_collection_option.rb
@@ -456,6 +458,8 @@ files:
456
458
  - lib/mongo/server/monitor/app_metadata.rb
457
459
  - lib/mongo/server/monitor/connection.rb
458
460
  - lib/mongo/server/pending_connection.rb
461
+ - lib/mongo/server/push_monitor.rb
462
+ - lib/mongo/server/push_monitor/connection.rb
459
463
  - lib/mongo/server/round_trip_time_averager.rb
460
464
  - lib/mongo/server_selector.rb
461
465
  - lib/mongo/server_selector/base.rb
@@ -464,7 +468,6 @@ files:
464
468
  - lib/mongo/server_selector/primary_preferred.rb
465
469
  - lib/mongo/server_selector/secondary.rb
466
470
  - lib/mongo/server_selector/secondary_preferred.rb
467
- - lib/mongo/server_selector/selectable.rb
468
471
  - lib/mongo/session.rb
469
472
  - lib/mongo/session/server_session.rb
470
473
  - lib/mongo/session/session_pool.rb
@@ -480,6 +483,7 @@ files:
480
483
  - lib/mongo/topology_version.rb
481
484
  - lib/mongo/uri.rb
482
485
  - lib/mongo/uri/srv_protocol.rb
486
+ - lib/mongo/utils.rb
483
487
  - lib/mongo/version.rb
484
488
  - lib/mongo/write_concern.rb
485
489
  - lib/mongo/write_concern/acknowledged.rb
@@ -493,12 +497,14 @@ files:
493
497
  - spec/atlas/atlas_connectivity_spec.rb
494
498
  - spec/atlas/operations_spec.rb
495
499
  - spec/integration/auth_spec.rb
500
+ - spec/integration/awaited_ismaster_spec.rb
496
501
  - spec/integration/aws_auth_request_spec.rb
497
502
  - spec/integration/aws_credentials_retriever_spec.rb
498
503
  - spec/integration/bson_symbol_spec.rb
499
504
  - spec/integration/bulk_insert_spec.rb
500
505
  - spec/integration/change_stream_examples_spec.rb
501
506
  - spec/integration/change_stream_spec.rb
507
+ - spec/integration/check_clean_slate_spec.rb
502
508
  - spec/integration/client_authentication_options_spec.rb
503
509
  - spec/integration/client_connectivity_spec.rb
504
510
  - spec/integration/client_construction_aws_auth_spec.rb
@@ -532,6 +538,7 @@ files:
532
538
  - spec/integration/error_detection_spec.rb
533
539
  - spec/integration/fork_reconnect_spec.rb
534
540
  - spec/integration/get_more_spec.rb
541
+ - spec/integration/grid_fs_bucket_spec.rb
535
542
  - spec/integration/heartbeat_events_spec.rb
536
543
  - spec/integration/mmapv1_spec.rb
537
544
  - spec/integration/mongos_pinning_spec.rb
@@ -554,12 +561,15 @@ files:
554
561
  - spec/integration/retryable_writes_errors_spec.rb
555
562
  - spec/integration/sdam_error_handling_spec.rb
556
563
  - spec/integration/sdam_events_spec.rb
564
+ - spec/integration/sdam_prose_spec.rb
557
565
  - spec/integration/server_description_spec.rb
558
566
  - spec/integration/server_monitor_spec.rb
559
567
  - spec/integration/server_selector_spec.rb
560
568
  - spec/integration/server_spec.rb
561
569
  - spec/integration/shell_examples_spec.rb
562
570
  - spec/integration/size_limit_spec.rb
571
+ - spec/integration/size_limit_spec.rb~12e1e9c4f... RUBY-2242 Fix zlib compression
572
+ (#2021)
563
573
  - spec/integration/srv_monitoring_spec.rb
564
574
  - spec/integration/ssl_uri_options_spec.rb
565
575
  - spec/integration/step_down_spec.rb
@@ -567,6 +577,7 @@ files:
567
577
  - spec/integration/transactions_api_examples_spec.rb
568
578
  - spec/integration/transactions_examples_spec.rb
569
579
  - spec/integration/x509_auth_spec.rb
580
+ - spec/integration/zlib_compression_spec.rb
570
581
  - spec/kerberos/kerberos_spec.rb
571
582
  - spec/lite_spec_helper.rb
572
583
  - spec/mongo/address/ipv4_spec.rb
@@ -574,6 +585,7 @@ files:
574
585
  - spec/mongo/address/unix_spec.rb
575
586
  - spec/mongo/address/validator_spec.rb
576
587
  - spec/mongo/address_spec.rb
588
+ - spec/mongo/auth/aws/request_spec.rb
577
589
  - spec/mongo/auth/cr_spec.rb
578
590
  - spec/mongo/auth/gssapi/conversation_spec.rb
579
591
  - spec/mongo/auth/invalid_mechanism_spec.rb
@@ -647,6 +659,7 @@ files:
647
659
  - spec/mongo/cursor_spec.rb
648
660
  - spec/mongo/database_spec.rb
649
661
  - spec/mongo/dbref_spec.rb
662
+ - spec/mongo/distinguishing_semaphore_spec.rb
650
663
  - spec/mongo/error/bulk_write_error_spec.rb
651
664
  - spec/mongo/error/crypt_error_spec.rb
652
665
  - spec/mongo/error/max_bson_size_spec.rb
@@ -737,6 +750,7 @@ files:
737
750
  - spec/mongo/protocol/reply_spec.rb
738
751
  - spec/mongo/protocol/update_spec.rb
739
752
  - spec/mongo/retryable_spec.rb
753
+ - spec/mongo/semaphore_spec.rb
740
754
  - spec/mongo/server/app_metadata_shared.rb
741
755
  - spec/mongo/server/app_metadata_spec.rb
742
756
  - spec/mongo/server/connection_auth_spec.rb
@@ -795,11 +809,9 @@ files:
795
809
  - spec/runners/read_write_concern_document.rb
796
810
  - spec/runners/sdam.rb
797
811
  - spec/runners/sdam/verifier.rb
798
- - spec/runners/sdam_monitoring.rb
799
812
  - spec/runners/server_selection.rb
800
813
  - spec/runners/server_selection_rtt.rb
801
814
  - spec/runners/transactions.rb
802
- - spec/runners/transactions/context.rb
803
815
  - spec/runners/transactions/operation.rb
804
816
  - spec/runners/transactions/spec.rb
805
817
  - spec/runners/transactions/test.rb
@@ -1000,6 +1012,7 @@ files:
1000
1012
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
1001
1013
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
1002
1014
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
1015
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
1003
1016
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
1004
1017
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
1005
1018
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
@@ -1279,6 +1292,16 @@ files:
1279
1292
  - spec/spec_tests/data/sdam/single/too_new.yml
1280
1293
  - spec/spec_tests/data/sdam/single/too_old.yml
1281
1294
  - spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml
1295
+ - spec/spec_tests/data/sdam_integration/cancel-server-check.yml
1296
+ - spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml
1297
+ - spec/spec_tests/data/sdam_integration/find-network-error.yml
1298
+ - spec/spec_tests/data/sdam_integration/find-shutdown-error.yml
1299
+ - spec/spec_tests/data/sdam_integration/insert-network-error.yml
1300
+ - spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml
1301
+ - spec/spec_tests/data/sdam_integration/isMaster-command-error.yml
1302
+ - spec/spec_tests/data/sdam_integration/isMaster-network-error.yml
1303
+ - spec/spec_tests/data/sdam_integration/isMaster-timeout.yml
1304
+ - spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml
1282
1305
  - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1283
1306
  - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1284
1307
  - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
@@ -1392,6 +1415,7 @@ files:
1392
1415
  - spec/spec_tests/read_write_concern_operaton_spec.rb
1393
1416
  - spec/spec_tests/retryable_reads_spec.rb
1394
1417
  - spec/spec_tests/retryable_writes_spec.rb
1418
+ - spec/spec_tests/sdam_integration_spec.rb
1395
1419
  - spec/spec_tests/sdam_monitoring_spec.rb
1396
1420
  - spec/spec_tests/sdam_spec.rb
1397
1421
  - spec/spec_tests/server_selection_rtt_spec.rb
@@ -1434,6 +1458,7 @@ files:
1434
1458
  - spec/support/certificates/server-second-level.key
1435
1459
  - spec/support/certificates/server-second-level.pem
1436
1460
  - spec/support/certificates/server.pem
1461
+ - spec/support/child_process_helper.rb
1437
1462
  - spec/support/client_registry.rb
1438
1463
  - spec/support/client_registry_macros.rb
1439
1464
  - spec/support/cluster_config.rb
@@ -1460,6 +1485,7 @@ files:
1460
1485
  - spec/support/dns.rb
1461
1486
  - spec/support/event_subscriber.rb
1462
1487
  - spec/support/json_ext_formatter.rb
1488
+ - spec/support/keyword_struct.rb
1463
1489
  - spec/support/lite_constraints.rb
1464
1490
  - spec/support/local_resource_registry.rb
1465
1491
  - spec/support/matchers.rb
@@ -1471,6 +1497,7 @@ files:
1471
1497
  - spec/support/shared/server_selector.rb
1472
1498
  - spec/support/shared/session.rb
1473
1499
  - spec/support/spec_config.rb
1500
+ - spec/support/spec_organizer.rb
1474
1501
  - spec/support/spec_setup.rb
1475
1502
  - spec/support/utils.rb
1476
1503
  homepage: https://docs.mongodb.com/ruby-driver/
@@ -1503,990 +1530,1013 @@ signing_key:
1503
1530
  specification_version: 4
1504
1531
  summary: Ruby driver for MongoDB
1505
1532
  test_files:
1506
- - spec/runners/transactions.rb
1507
- - spec/runners/gridfs.rb
1508
- - spec/runners/cmap.rb
1509
- - spec/runners/auth.rb
1510
- - spec/runners/server_selection_rtt.rb
1511
- - spec/runners/sdam.rb
1512
- - spec/runners/change_streams/spec.rb
1513
- - spec/runners/change_streams/test.rb
1514
- - spec/runners/change_streams/outcome.rb
1515
- - spec/runners/crud/spec.rb
1516
- - spec/runners/crud/test_base.rb
1517
- - spec/runners/crud/requirement.rb
1518
- - spec/runners/crud/test.rb
1519
- - spec/runners/crud/outcome.rb
1520
- - spec/runners/crud/operation.rb
1521
- - spec/runners/crud/context.rb
1522
- - spec/runners/crud/verifier.rb
1523
- - spec/runners/server_selection.rb
1524
- - spec/runners/transactions/spec.rb
1525
- - spec/runners/transactions/test.rb
1526
- - spec/runners/transactions/operation.rb
1527
- - spec/runners/transactions/context.rb
1528
- - spec/runners/sdam_monitoring.rb
1529
- - spec/runners/connection_string.rb
1530
- - spec/runners/command_monitoring.rb
1531
- - spec/runners/cmap/verifier.rb
1532
- - spec/runners/crud.rb
1533
- - spec/runners/read_write_concern_document.rb
1534
- - spec/runners/sdam/verifier.rb
1535
- - spec/atlas/operations_spec.rb
1536
- - spec/atlas/atlas_connectivity_spec.rb
1537
- - spec/USERS.md
1538
- - spec/README.aws-auth.md
1539
- - spec/mongo/auth_spec.rb
1540
- - spec/mongo/client_spec.rb
1541
- - spec/mongo/server_selector/primary_spec.rb
1542
- - spec/mongo/server_selector/nearest_spec.rb
1543
- - spec/mongo/server_selector/secondary_preferred_spec.rb
1544
- - spec/mongo/server_selector/primary_preferred_spec.rb
1545
- - spec/mongo/server_selector/secondary_spec.rb
1546
- - spec/mongo/address/unix_spec.rb
1547
- - spec/mongo/address/validator_spec.rb
1548
- - spec/mongo/address/ipv4_spec.rb
1549
- - spec/mongo/address/ipv6_spec.rb
1550
- - spec/mongo/write_concern/unacknowledged_spec.rb
1551
- - spec/mongo/write_concern/acknowledged_spec.rb
1552
- - spec/mongo/bulk_write_spec.rb
1553
- - spec/mongo/uri_option_parsing_spec.rb
1554
- - spec/mongo/session_transaction_spec.rb
1555
- - spec/mongo/server/description_spec.rb
1556
- - spec/mongo/server/monitor/connection_spec.rb
1557
- - spec/mongo/server/monitor/app_metadata_spec.rb
1558
- - spec/mongo/server/round_trip_time_averager_spec.rb
1559
- - spec/mongo/server/connection_pool/populator_spec.rb
1560
- - spec/mongo/server/app_metadata_shared.rb
1561
- - spec/mongo/server/connection_auth_spec.rb
1562
- - spec/mongo/server/description/features_spec.rb
1563
- - spec/mongo/server/monitor_spec.rb
1564
- - spec/mongo/server/connection_pool_spec.rb
1565
- - spec/mongo/server/connection_spec.rb
1566
- - spec/mongo/server/description_query_methods_spec.rb
1567
- - spec/mongo/server/app_metadata_spec.rb
1568
- - spec/mongo/session_spec.rb
1569
- - spec/mongo/socket_spec.rb
1570
- - spec/mongo/error/max_bson_size_spec.rb
1571
- - spec/mongo/error/no_server_available_spec.rb
1572
- - spec/mongo/error/parser_spec.rb
1573
- - spec/mongo/error/operation_failure_heavy_spec.rb
1574
- - spec/mongo/error/crypt_error_spec.rb
1575
- - spec/mongo/error/operation_failure_spec.rb
1576
- - spec/mongo/error/notable_spec.rb
1577
- - spec/mongo/error/bulk_write_error_spec.rb
1578
- - spec/mongo/error/unsupported_option_spec.rb
1579
- - spec/mongo/uri/srv_protocol_spec.rb
1580
- - spec/mongo/operation/aggregate/result_spec.rb
1581
- - spec/mongo/operation/create_index_spec.rb
1582
- - spec/mongo/operation/remove_user_spec.rb
1583
- - spec/mongo/operation/collections_info_spec.rb
1584
- - spec/mongo/operation/update_user_spec.rb
1585
- - spec/mongo/operation/limited_spec.rb
1586
- - spec/mongo/operation/update_spec.rb
1587
- - spec/mongo/operation/command_spec.rb
1588
- - spec/mongo/operation/result_spec.rb
1589
- - spec/mongo/operation/specifiable_spec.rb
1590
- - spec/mongo/operation/insert/command_spec.rb
1591
- - spec/mongo/operation/insert/op_msg_spec.rb
1592
- - spec/mongo/operation/insert/bulk_spec.rb
1593
- - spec/mongo/operation/create_user_spec.rb
1594
- - spec/mongo/operation/delete_spec.rb
1595
- - spec/mongo/operation/kill_cursors_spec.rb
1596
- - spec/mongo/operation/delete/command_spec.rb
1597
- - spec/mongo/operation/delete/op_msg_spec.rb
1598
- - spec/mongo/operation/delete/bulk_spec.rb
1599
- - spec/mongo/operation/read_preference_legacy_spec.rb
1600
- - spec/mongo/operation/insert_spec.rb
1601
- - spec/mongo/operation/read_preference_op_msg_spec.rb
1602
- - spec/mongo/operation/drop_index_spec.rb
1603
- - spec/mongo/operation/update/command_spec.rb
1604
- - spec/mongo/operation/update/op_msg_spec.rb
1605
- - spec/mongo/operation/update/bulk_spec.rb
1606
- - spec/mongo/operation/aggregate_spec.rb
1607
- - spec/mongo/operation/map_reduce_spec.rb
1608
- - spec/mongo/operation/find/legacy_spec.rb
1609
- - spec/mongo/operation/get_more_spec.rb
1610
- - spec/mongo/operation/indexes_spec.rb
1611
- - spec/mongo/auth/cr_spec.rb
1612
- - spec/mongo/auth/ldap_spec.rb
1613
- - spec/mongo/auth/x509/conversation_spec.rb
1614
- - spec/mongo/auth/scram_spec.rb
1615
- - spec/mongo/auth/user/view_spec.rb
1616
- - spec/mongo/auth/stringprep_spec.rb
1617
- - spec/mongo/auth/user_spec.rb
1618
- - spec/mongo/auth/invalid_mechanism_spec.rb
1619
- - spec/mongo/auth/ldap/conversation_spec.rb
1620
- - spec/mongo/auth/scram_negotiation_spec.rb
1621
- - spec/mongo/auth/scram/conversation_spec.rb
1622
- - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1623
- - spec/mongo/auth/x509_spec.rb
1624
- - spec/mongo/auth/scram256/conversation_spec.rb
1625
- - spec/mongo/auth/gssapi/conversation_spec.rb
1626
- - spec/mongo/cluster_time_spec.rb
1627
- - spec/mongo/srv/result_spec.rb
1628
- - spec/mongo/srv/monitor_spec.rb
1629
- - spec/mongo/client_encryption_spec.rb
1630
- - spec/mongo/monitoring/command_log_subscriber_spec.rb
1631
- - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
1632
- - spec/mongo/monitoring/event/topology_opening_spec.rb
1633
- - spec/mongo/monitoring/event/topology_closed_spec.rb
1634
- - spec/mongo/monitoring/event/command_started_spec.rb
1635
- - spec/mongo/monitoring/event/server_description_changed_spec.rb
1636
- - spec/mongo/monitoring/event/command_succeeded_spec.rb
1637
- - spec/mongo/monitoring/event/server_opening_spec.rb
1638
- - spec/mongo/monitoring/event/secure_spec.rb
1639
- - spec/mongo/monitoring/event/command_failed_spec.rb
1640
- - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
1641
- - spec/mongo/monitoring/event/server_closed_spec.rb
1642
- - spec/mongo/monitoring/event/topology_changed_spec.rb
1643
- - spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb
1644
- - spec/mongo/monitoring/event/cmap/pool_created_spec.rb
1645
- - spec/mongo/monitoring/event/cmap/pool_closed_spec.rb
1646
- - spec/mongo/monitoring/event/cmap/connection_closed_spec.rb
1647
- - spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb
1648
- - spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb
1649
- - spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb
1650
- - spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb
1651
- - spec/mongo/monitoring/event/cmap/connection_ready_spec.rb
1652
- - spec/mongo/monitoring/event/cmap/connection_created_spec.rb
1653
- - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
1654
- - spec/mongo/collection/view_spec.rb
1655
- - spec/mongo/collection/view/builder/op_query_spec.rb
1656
- - spec/mongo/collection/view/builder/modifiers_spec.rb
1657
- - spec/mongo/collection/view/builder/flags_spec.rb
1658
- - spec/mongo/collection/view/builder/find_command_spec.rb
1659
- - spec/mongo/collection/view/change_stream_spec.rb
1660
- - spec/mongo/collection/view/change_stream_resume_spec.rb
1661
- - spec/mongo/collection/view/immutable_spec.rb
1662
- - spec/mongo/collection/view/aggregation_spec.rb
1663
- - spec/mongo/collection/view/readable_spec.rb
1664
- - spec/mongo/collection/view/writable_spec.rb
1665
- - spec/mongo/collection/view/explainable_spec.rb
1666
- - spec/mongo/collection/view/map_reduce_spec.rb
1667
- - spec/mongo/collection/view/iterable_spec.rb
1668
- - spec/mongo/cluster_spec.rb
1669
- - spec/mongo/write_concern_spec.rb
1670
- - spec/mongo/grid/stream_spec.rb
1671
- - spec/mongo/grid/stream/read_spec.rb
1672
- - spec/mongo/grid/stream/write_spec.rb
1673
- - spec/mongo/grid/file_spec.rb
1674
- - spec/mongo/grid/fs_bucket_spec.rb
1675
- - spec/mongo/grid/file/chunk_spec.rb
1676
- - spec/mongo/grid/file/info_spec.rb
1677
- - spec/mongo/uri_spec.rb
1678
- - spec/mongo/dbref_spec.rb
1679
- - spec/mongo/cluster/cursor_reaper_spec.rb
1680
- - spec/mongo/cluster/periodic_executor_spec.rb
1681
- - spec/mongo/cluster/topology_spec.rb
1682
- - spec/mongo/cluster/topology/replica_set_spec.rb
1683
- - spec/mongo/cluster/topology/unknown_spec.rb
1684
- - spec/mongo/cluster/topology/sharded_spec.rb
1685
- - spec/mongo/cluster/topology/single_spec.rb
1686
- - spec/mongo/cluster/socket_reaper_spec.rb
1687
- - spec/mongo/lint_spec.rb
1688
- - spec/mongo/logger_spec.rb
1689
- - spec/mongo/socket/unix_spec.rb
1690
- - spec/mongo/socket/ssl_spec.rb
1691
- - spec/mongo/socket/tcp_spec.rb
1692
- - spec/mongo/collection_spec.rb
1693
- - spec/mongo/event/subscriber_spec.rb
1694
- - spec/mongo/event/publisher_spec.rb
1695
- - spec/mongo/index/view_spec.rb
1696
- - spec/mongo/bulk_write/ordered_combiner_spec.rb
1697
- - spec/mongo/bulk_write/result_spec.rb
1698
- - spec/mongo/bulk_write/unordered_combiner_spec.rb
1699
- - spec/mongo/retryable_spec.rb
1700
- - spec/mongo/cursor_spec.rb
1701
- - spec/mongo/cursor/builder/get_more_command_spec.rb
1702
- - spec/mongo/cursor/builder/op_get_more_spec.rb
1703
- - spec/mongo/cursor/builder/op_kill_cursors_spec.rb
1704
- - spec/mongo/server_spec.rb
1705
- - spec/mongo/timeout_spec.rb
1706
- - spec/mongo/id_spec.rb
1707
- - spec/mongo/monitoring_spec.rb
1708
- - spec/mongo/address_spec.rb
1709
- - spec/mongo/client_construction_spec.rb
1710
- - spec/mongo/crypt/binding_unloaded_spec.rb
1711
- - spec/mongo/crypt/status_spec.rb
1712
- - spec/mongo/crypt/auto_decryption_context_spec.rb
1713
- - spec/mongo/crypt/data_key_context_spec.rb
1714
- - spec/mongo/crypt/binding/status_spec.rb
1715
- - spec/mongo/crypt/binding/binary_spec.rb
1716
- - spec/mongo/crypt/binding/version_spec.rb
1717
- - spec/mongo/crypt/binding/mongocrypt_spec.rb
1718
- - spec/mongo/crypt/binding/helpers_spec.rb
1719
- - spec/mongo/crypt/binding/context_spec.rb
1720
- - spec/mongo/crypt/encryption_io_spec.rb
1721
- - spec/mongo/crypt/auto_encryption_context_spec.rb
1722
- - spec/mongo/crypt/binary_spec.rb
1723
- - spec/mongo/crypt/auto_encrypter_spec.rb
1724
- - spec/mongo/crypt/handle_spec.rb
1725
- - spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb
1726
- - spec/mongo/crypt/explicit_encryption_context_spec.rb
1727
- - spec/mongo/crypt/explicit_decryption_context_spec.rb
1728
- - spec/mongo/options/redacted_spec.rb
1729
- - spec/mongo/session/session_pool_spec.rb
1730
- - spec/mongo/session/server_session_spec.rb
1731
- - spec/mongo/database_spec.rb
1732
- - spec/mongo/server_selector_spec.rb
1733
- - spec/mongo/bson_spec.rb
1734
- - spec/mongo/protocol/compressed_spec.rb
1735
- - spec/mongo/protocol/update_spec.rb
1736
- - spec/mongo/protocol/query_spec.rb
1737
- - spec/mongo/protocol/delete_spec.rb
1738
- - spec/mongo/protocol/kill_cursors_spec.rb
1739
- - spec/mongo/protocol/msg_spec.rb
1740
- - spec/mongo/protocol/insert_spec.rb
1741
- - spec/mongo/protocol/reply_spec.rb
1742
- - spec/mongo/protocol/get_more_spec.rb
1743
- - spec/mongo/protocol/registry_spec.rb
1744
- - spec/README.md
1745
- - spec/support/shared/scram_conversation.rb
1746
- - spec/support/shared/server_selector.rb
1747
- - spec/support/shared/protocol.rb
1748
- - spec/support/shared/session.rb
1749
- - spec/support/aws_utils/orchestrator.rb
1750
- - spec/support/aws_utils/provisioner.rb
1751
- - spec/support/aws_utils/base.rb
1752
- - spec/support/aws_utils/inspector.rb
1753
- - spec/support/authorization.rb
1754
- - spec/support/sdam_formatter_integration.rb
1755
- - spec/support/cluster_config.rb
1756
- - spec/support/cluster_tools.rb
1757
- - spec/support/matchers.rb
1758
- - spec/support/client_registry.rb
1759
- - spec/support/primary_socket.rb
1760
- - spec/support/spec_setup.rb
1761
- - spec/support/monitoring_ext.rb
1762
- - spec/support/dns.rb
1763
- - spec/support/lite_constraints.rb
1764
- - spec/support/certificates/server.pem
1765
- - spec/support/certificates/server-second-level-bundle.pem
1766
- - spec/support/certificates/client-second-level.pem
1767
- - spec/support/certificates/crl.pem
1768
- - spec/support/certificates/crl_client_revoked.pem
1769
- - spec/support/certificates/client.key
1770
- - spec/support/certificates/client-int.crt
1771
- - spec/support/certificates/client-encrypted.key
1772
- - spec/support/certificates/server-second-level.key
1773
- - spec/support/certificates/server-second-level.crt
1774
- - spec/support/certificates/client.pem
1775
- - spec/support/certificates/python-ca.crt
1776
- - spec/support/certificates/multi-ca.crt
1777
- - spec/support/certificates/README.md
1778
- - spec/support/certificates/client-x509.crt
1779
- - spec/support/certificates/client.crt
1780
- - spec/support/certificates/server-second-level.pem
1781
- - spec/support/certificates/client-second-level.key
1782
- - spec/support/certificates/server-int.crt
1783
- - spec/support/certificates/ca.crt
1784
- - spec/support/certificates/client-second-level-bundle.pem
1785
- - spec/support/certificates/client-x509.pem
1786
- - spec/support/certificates/client-x509.key
1787
- - spec/support/certificates/client-second-level.crt
1788
- - spec/support/json_ext_formatter.rb
1789
- - spec/support/event_subscriber.rb
1790
- - spec/support/client_registry_macros.rb
1791
- - spec/support/constraints.rb
1792
- - spec/support/crypt.rb
1793
- - spec/support/local_resource_registry.rb
1794
- - spec/support/common_shortcuts.rb
1795
- - spec/support/spec_config.rb
1796
- - spec/support/crypt/corpus/corpus-schema.json
1797
- - spec/support/crypt/corpus/corpus-key-local.json
1798
- - spec/support/crypt/corpus/corpus_encrypted.json
1799
- - spec/support/crypt/corpus/corpus-key-aws.json
1800
- - spec/support/crypt/corpus/corpus.json
1801
- - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
1802
- - spec/support/crypt/schema_maps/schema_map_local.json
1803
- - spec/support/crypt/schema_maps/schema_map_aws.json
1804
- - spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json
1805
- - spec/support/crypt/data_keys/key_document_aws.json
1806
- - spec/support/crypt/data_keys/key_document_local.json
1807
- - spec/support/crypt/external/external-key.json
1808
- - spec/support/crypt/external/external-schema.json
1809
- - spec/support/crypt/limits/limits-key.json
1810
- - spec/support/crypt/limits/limits-schema.json
1811
- - spec/support/crypt/limits/limits-doc.json
1812
- - spec/support/aws_utils.rb
1813
- - spec/support/utils.rb
1814
- - spec/support/background_thread_registry.rb
1815
- - spec/stress/fork_reconnect_stress_spec.rb
1816
- - spec/stress/cleanup_spec.rb
1817
- - spec/stress/connection_pool_timing_spec.rb
1818
- - spec/stress/connection_pool_stress_spec.rb
1819
- - spec/kerberos/kerberos_spec.rb
1820
- - spec/NOTES.aws-auth.md
1821
- - spec/spec_tests/auth_spec.rb
1822
- - spec/spec_tests/connection_string_spec.rb
1823
- - spec/spec_tests/dns_seedlist_discovery_spec.rb
1824
- - spec/spec_tests/data/uri_options/tls-options.yml
1825
- - spec/spec_tests/data/uri_options/ruby-connection-options.yml
1826
- - spec/spec_tests/data/uri_options/auth-options.yml
1827
- - spec/spec_tests/data/uri_options/ruby-auth-options.yml
1828
- - spec/spec_tests/data/uri_options/connection-pool-options.yml
1829
- - spec/spec_tests/data/uri_options/compression-options.yml
1830
- - spec/spec_tests/data/uri_options/read-preference-options.yml
1831
- - spec/spec_tests/data/uri_options/connection-options.yml
1832
- - spec/spec_tests/data/uri_options/concern-options.yml
1833
- - spec/spec_tests/data/auth/connection-string.yml
1834
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1835
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
1836
- - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-false.yml
1837
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1838
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1839
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1840
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1841
- - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
1842
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1843
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1844
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1845
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1846
- - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
1847
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1848
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1849
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1850
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1851
- - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1852
- - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-true.yml
1853
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1854
- - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1855
- - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1856
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
1857
- - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
1858
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1859
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1860
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1861
- - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1862
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-errorLabels.yml
1863
- - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1864
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-errorLabels.yml
1865
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-errorLabels.yml
1866
- - spec/spec_tests/data/retryable_writes/insertOne.yml
1867
- - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1868
- - spec/spec_tests/data/retryable_writes/deleteMany.yml
1869
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1870
- - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1871
- - spec/spec_tests/data/retryable_writes/replaceOne.yml
1872
- - spec/spec_tests/data/retryable_writes/insertMany.yml
1873
- - spec/spec_tests/data/retryable_writes/insertMany-errorLabels.yml
1874
- - spec/spec_tests/data/retryable_writes/updateMany.yml
1875
- - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
1876
- - spec/spec_tests/data/retryable_writes/deleteOne.yml
1877
- - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1878
- - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1879
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1880
- - spec/spec_tests/data/retryable_writes/bulkWrite-errorLabels.yml
1881
- - spec/spec_tests/data/retryable_writes/replaceOne-errorLabels.yml
1882
- - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1883
- - spec/spec_tests/data/retryable_writes/insertOne-errorLabels.yml
1884
- - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1885
- - spec/spec_tests/data/retryable_writes/updateOne-errorLabels.yml
1886
- - spec/spec_tests/data/retryable_writes/updateOne.yml
1887
- - spec/spec_tests/data/retryable_writes/deleteOne-errorLabels.yml
1888
- - spec/spec_tests/data/command_monitoring/find.yml
1889
- - spec/spec_tests/data/command_monitoring/insertOne.yml
1890
- - spec/spec_tests/data/command_monitoring/command.yml
1891
- - spec/spec_tests/data/command_monitoring/deleteMany.yml
1892
- - spec/spec_tests/data/command_monitoring/insertMany.yml
1893
- - spec/spec_tests/data/command_monitoring/updateMany.yml
1894
- - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
1895
- - spec/spec_tests/data/command_monitoring/deleteOne.yml
1896
- - spec/spec_tests/data/command_monitoring/bulkWrite.yml
1897
- - spec/spec_tests/data/command_monitoring/updateOne.yml
1898
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1899
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1900
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1901
- - spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml
1902
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1903
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml
1904
- - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1905
- - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1906
- - spec/spec_tests/data/sdam_monitoring/replica_set_primary_address_change.yml
1907
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
1908
- - spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml
1909
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
1910
- - spec/spec_tests/data/sdam_monitoring/standalone.yml
1911
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1912
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1913
- - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1914
- - spec/spec_tests/data/change_streams/change-streams-errors.yml
1915
- - spec/spec_tests/data/change_streams/change-streams-resume-errorLabels.yml
1916
- - spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml
1917
- - spec/spec_tests/data/change_streams/change-streams.yml
1918
- - spec/spec_tests/data/gridfs/delete.yml
1919
- - spec/spec_tests/data/gridfs/upload.yml
1920
- - spec/spec_tests/data/gridfs/download.yml
1921
- - spec/spec_tests/data/gridfs/download_by_name.yml
1922
- - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1923
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
1924
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
1925
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
1926
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
1927
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
1928
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
1929
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
1930
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
1931
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
1932
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
1933
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
1934
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1935
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
1936
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
1937
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
1938
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
1939
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
1940
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
1941
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
1942
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
1943
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
1944
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
1945
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
1946
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
1947
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
1948
- - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
1949
- - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
1950
- - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
1951
- - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1952
- - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
1953
- - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
1954
- - spec/spec_tests/data/crud/read/find.yml
1955
- - spec/spec_tests/data/crud/read/count-collation.yml
1956
- - spec/spec_tests/data/crud/read/aggregate-out.yml
1957
- - spec/spec_tests/data/crud/read/find-collation.yml
1958
- - spec/spec_tests/data/crud/read/count.yml
1959
- - spec/spec_tests/data/crud/read/distinct-collation.yml
1960
- - spec/spec_tests/data/crud/read/aggregate-collation.yml
1961
- - spec/spec_tests/data/crud/read/distinct.yml
1962
- - spec/spec_tests/data/crud/read/count-empty.yml
1963
- - spec/spec_tests/data/crud/read/aggregate.yml
1964
- - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
1965
- - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1966
- - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1967
- - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1968
- - spec/spec_tests/data/crud/write/updateMany-collation.yml
1969
- - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1970
- - spec/spec_tests/data/crud/write/insertOne.yml
1971
- - spec/spec_tests/data/crud/write/deleteMany.yml
1972
- - spec/spec_tests/data/crud/write/deleteMany-collation.yml
1973
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1974
- - spec/spec_tests/data/crud/write/findOneAndDelete.yml
1975
- - spec/spec_tests/data/crud/write/replaceOne.yml
1976
- - spec/spec_tests/data/crud/write/insertMany.yml
1977
- - spec/spec_tests/data/crud/write/replaceOne-collation.yml
1978
- - spec/spec_tests/data/crud/write/updateMany.yml
1979
- - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1980
- - spec/spec_tests/data/crud/write/deleteOne.yml
1981
- - spec/spec_tests/data/crud/write/updateOne-collation.yml
1982
- - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1983
- - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
1984
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1985
- - spec/spec_tests/data/crud/write/bulkWrite-collation.yml
1986
- - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1987
- - spec/spec_tests/data/crud/write/bulkWrite.yml
1988
- - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1989
- - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1990
- - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
1991
- - spec/spec_tests/data/crud/write/deleteOne-collation.yml
1992
- - spec/spec_tests/data/crud/write/updateOne.yml
1993
- - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1994
- - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
1995
- - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
1996
- - spec/spec_tests/data/connection_string/valid-auth.yml
1997
- - spec/spec_tests/data/connection_string/valid-options.yml
1998
- - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
1999
- - spec/spec_tests/data/connection_string/valid-warnings.yml
2000
- - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
2001
- - spec/spec_tests/data/connection_string/invalid-uris.yml
2002
- - spec/spec_tests/data/crud_v2/find-allowdiskuse-clientError.yml
2003
- - spec/spec_tests/data/crud_v2/deleteMany-hint.yml
2004
- - spec/spec_tests/data/crud_v2/unacknowledged-updateMany-hint-clientError.yml
2005
- - spec/spec_tests/data/crud_v2/deleteOne-hint-serverError.yml
2006
- - spec/spec_tests/data/crud_v2/db-aggregate.yml
2007
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint.yml
2008
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-clientError.yml
2009
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-serverError.yml
2010
- - spec/spec_tests/data/crud_v2/updateOne-hint-clientError.yml
2011
- - spec/spec_tests/data/crud_v2/updateMany-hint.yml
2012
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-serverError.yml
2013
- - spec/spec_tests/data/crud_v2/unacknowledged-replaceOne-hint-clientError.yml
2014
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndReplace-hint-clientError.yml
2015
- - spec/spec_tests/data/crud_v2/unacknowledged-deleteOne-hint-clientError.yml
2016
- - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-update-hint-clientError.yml
2017
- - spec/spec_tests/data/crud_v2/find-allowdiskuse.yml
2018
- - spec/spec_tests/data/crud_v2/updateOne-hint-serverError.yml
2019
- - spec/spec_tests/data/crud_v2/find-allowdiskuse-serverError.yml
2020
- - spec/spec_tests/data/crud_v2/replaceOne-hint.yml
2021
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndDelete-hint-clientError.yml
2022
- - spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
2023
- - spec/spec_tests/data/crud_v2/deleteMany-hint-clientError.yml
2024
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-clientError.yml
2025
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-clientError.yml
2026
- - spec/spec_tests/data/crud_v2/updateOne-hint.yml
2027
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-serverError.yml
2028
- - spec/spec_tests/data/crud_v2/deleteOne-hint.yml
2029
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint.yml
2030
- - spec/spec_tests/data/crud_v2/updateWithPipelines.yml
2031
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-clientError.yml
2032
- - spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml
2033
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint.yml
2034
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-serverError.yml
2035
- - spec/spec_tests/data/crud_v2/updateMany-hint-clientError.yml
2036
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-clientError.yml
2037
- - spec/spec_tests/data/crud_v2/deleteOne-hint-clientError.yml
2038
- - spec/spec_tests/data/crud_v2/unacknowledged-updateOne-hint-clientError.yml
2039
- - spec/spec_tests/data/crud_v2/aggregate-merge.yml
2040
- - spec/spec_tests/data/crud_v2/deleteMany-hint-serverError.yml
2041
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndUpdate-hint-clientError.yml
2042
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint.yml
2043
- - spec/spec_tests/data/crud_v2/updateMany-hint-serverError.yml
2044
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-serverError.yml
2045
- - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-delete-hint-clientError.yml
2046
- - spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml
2047
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint.yml
2048
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml
2049
- - spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml
2050
- - spec/spec_tests/data/retryable_reads/findOne.yml
2051
- - spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml
2052
- - spec/spec_tests/data/retryable_reads/listCollections.yml
2053
- - spec/spec_tests/data/retryable_reads/count-serverErrors.yml
2054
- - spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml
2055
- - spec/spec_tests/data/retryable_reads/gridfs-download.yml
2056
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml
2057
- - spec/spec_tests/data/retryable_reads/find-serverErrors.yml
2058
- - spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml
2059
- - spec/spec_tests/data/retryable_reads/listIndexes.yml
2060
- - spec/spec_tests/data/retryable_reads/mapReduce.yml
2061
- - spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml
2062
- - spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml
2063
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml
2064
- - spec/spec_tests/data/retryable_reads/listDatabases.yml
2065
- - spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml
2066
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml
2067
- - spec/spec_tests/data/retryable_reads/find.yml
2068
- - spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml
2069
- - spec/spec_tests/data/retryable_reads/countDocuments.yml
2070
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml
2071
- - spec/spec_tests/data/retryable_reads/listCollectionNames.yml
2072
- - spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml
2073
- - spec/spec_tests/data/retryable_reads/count.yml
2074
- - spec/spec_tests/data/retryable_reads/listDatabaseNames.yml
2075
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml
2076
- - spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml
2077
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml
2078
- - spec/spec_tests/data/retryable_reads/listCollectionObjects.yml
2079
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml
2080
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml
2081
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml
2082
- - spec/spec_tests/data/retryable_reads/distinct.yml
2083
- - spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml
2084
- - spec/spec_tests/data/retryable_reads/aggregate-merge.yml
2085
- - spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml
2086
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml
2087
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml
2088
- - spec/spec_tests/data/retryable_reads/aggregate.yml
2089
- - spec/spec_tests/data/retryable_reads/listIndexNames.yml
2090
- - spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml
2091
- - spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml
2092
- - spec/spec_tests/data/client_side_encryption/localSchema.yml
2093
- - spec/spec_tests/data/client_side_encryption/delete.yml
2094
- - spec/spec_tests/data/client_side_encryption/find.yml
2095
- - spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml
2096
- - spec/spec_tests/data/client_side_encryption/countDocuments.yml
2097
- - spec/spec_tests/data/client_side_encryption/maxWireVersion.yml
1533
+ - spec/spec_helper.rb
1534
+ - spec/USERS.md
1535
+ - spec/README.md
1536
+ - spec/lite_spec_helper.rb
1537
+ - spec/atlas/operations_spec.rb
1538
+ - spec/atlas/atlas_connectivity_spec.rb
1539
+ - spec/spec_tests/retryable_writes_spec.rb
1540
+ - spec/spec_tests/uri_options_spec.rb
1541
+ - spec/spec_tests/server_selection_rtt_spec.rb
1542
+ - spec/spec_tests/change_streams_spec.rb
1543
+ - spec/spec_tests/command_monitoring_spec.rb
1544
+ - spec/spec_tests/connection_string_spec.rb
1545
+ - spec/spec_tests/retryable_reads_spec.rb
1546
+ - spec/spec_tests/server_selection_spec.rb
1547
+ - spec/spec_tests/max_staleness_spec.rb
1548
+ - spec/spec_tests/sdam_integration_spec.rb
1549
+ - spec/spec_tests/client_side_encryption_spec.rb
1550
+ - spec/spec_tests/transactions_spec.rb
1551
+ - spec/spec_tests/dns_seedlist_discovery_spec.rb
1552
+ - spec/spec_tests/auth_spec.rb
1553
+ - spec/spec_tests/transactions_api_spec.rb
1554
+ - spec/spec_tests/read_write_concern_operaton_spec.rb
1555
+ - spec/spec_tests/read_write_concern_document_spec.rb
1556
+ - spec/spec_tests/read_write_concern_connection_string_spec.rb
1557
+ - spec/spec_tests/sdam_spec.rb
1558
+ - spec/spec_tests/crud_spec.rb
1559
+ - spec/spec_tests/gridfs_spec.rb
1560
+ - spec/spec_tests/sdam_monitoring_spec.rb
1561
+ - spec/spec_tests/data/sdam_integration/find-network-error.yml
1562
+ - spec/spec_tests/data/sdam_integration/insert-network-error.yml
1563
+ - spec/spec_tests/data/sdam_integration/isMaster-network-error.yml
1564
+ - spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml
1565
+ - spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml
1566
+ - spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml
1567
+ - spec/spec_tests/data/sdam_integration/isMaster-timeout.yml
1568
+ - spec/spec_tests/data/sdam_integration/cancel-server-check.yml
1569
+ - spec/spec_tests/data/sdam_integration/find-shutdown-error.yml
1570
+ - spec/spec_tests/data/sdam_integration/isMaster-command-error.yml
1571
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
1572
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
1573
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
1574
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
1575
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
1576
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
1577
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
1578
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
1579
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
1580
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
1581
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
1582
+ - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1583
+ - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
1584
+ - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
1585
+ - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
1586
+ - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
1587
+ - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1588
+ - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
1589
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
1590
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
1591
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
1592
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
1593
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
1594
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
1595
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
1596
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
1597
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
1598
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
1599
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1600
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
1601
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
1602
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
1603
+ - spec/spec_tests/data/client_side_encryption/localKMS.yml
1604
+ - spec/spec_tests/data/client_side_encryption/keyAltName.yml
2098
1605
  - spec/spec_tests/data/client_side_encryption/bulk.yml
2099
- - spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml
2100
- - spec/spec_tests/data/client_side_encryption/replaceOne.yml
2101
- - spec/spec_tests/data/client_side_encryption/count.yml
2102
1606
  - spec/spec_tests/data/client_side_encryption/getMore.yml
2103
- - spec/spec_tests/data/client_side_encryption/badSchema.yml
2104
- - spec/spec_tests/data/client_side_encryption/updateMany.yml
2105
- - spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml
2106
1607
  - spec/spec_tests/data/client_side_encryption/bypassAutoEncryption.yml
2107
1608
  - spec/spec_tests/data/client_side_encryption/types.yml
2108
- - spec/spec_tests/data/client_side_encryption/badQueries.yml
2109
- - spec/spec_tests/data/client_side_encryption/distinct.yml
2110
- - spec/spec_tests/data/client_side_encryption/basic.yml
2111
1609
  - spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
1610
+ - spec/spec_tests/data/client_side_encryption/updateOne.yml
1611
+ - spec/spec_tests/data/client_side_encryption/missingKey.yml
1612
+ - spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml
1613
+ - spec/spec_tests/data/client_side_encryption/badSchema.yml
1614
+ - spec/spec_tests/data/client_side_encryption/replaceOne.yml
1615
+ - spec/spec_tests/data/client_side_encryption/updateMany.yml
2112
1616
  - spec/spec_tests/data/client_side_encryption/explain.yml
1617
+ - spec/spec_tests/data/client_side_encryption/countDocuments.yml
1618
+ - spec/spec_tests/data/client_side_encryption/maxWireVersion.yml
2113
1619
  - spec/spec_tests/data/client_side_encryption/insert.yml
2114
- - spec/spec_tests/data/client_side_encryption/localKMS.yml
1620
+ - spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml
1621
+ - spec/spec_tests/data/client_side_encryption/distinct.yml
1622
+ - spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml
1623
+ - spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml
1624
+ - spec/spec_tests/data/client_side_encryption/localSchema.yml
1625
+ - spec/spec_tests/data/client_side_encryption/delete.yml
1626
+ - spec/spec_tests/data/client_side_encryption/find.yml
2115
1627
  - spec/spec_tests/data/client_side_encryption/aggregate.yml
2116
- - spec/spec_tests/data/client_side_encryption/updateOne.yml
2117
- - spec/spec_tests/data/client_side_encryption/missingKey.yml
2118
- - spec/spec_tests/data/client_side_encryption/keyAltName.yml
2119
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.4.yml
2120
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-4.2.yml
2121
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-2.6.yml
2122
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.2.yml
2123
- - spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml
2124
- - spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml
2125
- - spec/spec_tests/data/read_write_concern/document/read-concern.yml
2126
- - spec/spec_tests/data/read_write_concern/document/write-concern.yml
2127
- - spec/spec_tests/data/transactions/mongos-recovery-token.yml
2128
- - spec/spec_tests/data/transactions/findOneAndUpdate.yml
2129
- - spec/spec_tests/data/transactions/causal-consistency.yml
2130
- - spec/spec_tests/data/transactions/errors-client.yml
2131
- - spec/spec_tests/data/transactions/read-concern.yml
2132
- - spec/spec_tests/data/transactions/write-concern.yml
2133
- - spec/spec_tests/data/transactions/retryable-commit.yml
2134
- - spec/spec_tests/data/transactions/delete.yml
2135
- - spec/spec_tests/data/transactions/reads.yml
2136
- - spec/spec_tests/data/transactions/retryable-abort.yml
2137
- - spec/spec_tests/data/transactions/error-labels.yml
2138
- - spec/spec_tests/data/transactions/transaction-options.yml
2139
- - spec/spec_tests/data/transactions/retryable-writes.yml
1628
+ - spec/spec_tests/data/client_side_encryption/count.yml
1629
+ - spec/spec_tests/data/client_side_encryption/basic.yml
1630
+ - spec/spec_tests/data/client_side_encryption/badQueries.yml
1631
+ - spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml
1632
+ - spec/spec_tests/data/uri_options/concern-options.yml
1633
+ - spec/spec_tests/data/uri_options/connection-pool-options.yml
1634
+ - spec/spec_tests/data/uri_options/connection-options.yml
1635
+ - spec/spec_tests/data/uri_options/tls-options.yml
1636
+ - spec/spec_tests/data/uri_options/read-preference-options.yml
1637
+ - spec/spec_tests/data/uri_options/auth-options.yml
1638
+ - spec/spec_tests/data/uri_options/ruby-connection-options.yml
1639
+ - spec/spec_tests/data/uri_options/ruby-auth-options.yml
1640
+ - spec/spec_tests/data/uri_options/compression-options.yml
1641
+ - spec/spec_tests/data/retryable_writes/replaceOne-errorLabels.yml
1642
+ - spec/spec_tests/data/retryable_writes/insertOne-errorLabels.yml
1643
+ - spec/spec_tests/data/retryable_writes/bulkWrite-errorLabels.yml
1644
+ - spec/spec_tests/data/retryable_writes/deleteMany.yml
1645
+ - spec/spec_tests/data/retryable_writes/updateOne.yml
1646
+ - spec/spec_tests/data/retryable_writes/deleteOne.yml
1647
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete-errorLabels.yml
1648
+ - spec/spec_tests/data/retryable_writes/insertMany-errorLabels.yml
1649
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1650
+ - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
1651
+ - spec/spec_tests/data/retryable_writes/insertOne.yml
1652
+ - spec/spec_tests/data/retryable_writes/replaceOne.yml
1653
+ - spec/spec_tests/data/retryable_writes/updateMany.yml
1654
+ - spec/spec_tests/data/retryable_writes/findOneAndReplace-errorLabels.yml
1655
+ - spec/spec_tests/data/retryable_writes/insertMany.yml
1656
+ - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1657
+ - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1658
+ - spec/spec_tests/data/retryable_writes/deleteOne-errorLabels.yml
1659
+ - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1660
+ - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1661
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate-errorLabels.yml
1662
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1663
+ - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1664
+ - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1665
+ - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1666
+ - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1667
+ - spec/spec_tests/data/retryable_writes/updateOne-errorLabels.yml
1668
+ - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1669
+ - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1670
+ - spec/spec_tests/data/transactions_api/callback-retry.yml
1671
+ - spec/spec_tests/data/transactions_api/callback-aborts.yml
1672
+ - spec/spec_tests/data/transactions_api/commit-retry.yml
1673
+ - spec/spec_tests/data/transactions_api/callback-commits.yml
1674
+ - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
1675
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
1676
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
1677
+ - spec/spec_tests/data/transactions_api/transaction-options.yml
1678
+ - spec/spec_tests/data/transactions_api/commit.yml
1679
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1680
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1681
+ - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1682
+ - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1683
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1684
+ - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1685
+ - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1686
+ - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1687
+ - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
1688
+ - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
1689
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1690
+ - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-false.yml
1691
+ - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1692
+ - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1693
+ - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1694
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1695
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
1696
+ - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1697
+ - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
1698
+ - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1699
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1700
+ - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-true.yml
1701
+ - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1702
+ - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1703
+ - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
1704
+ - spec/spec_tests/data/change_streams/change-streams.yml
1705
+ - spec/spec_tests/data/change_streams/change-streams-resume-errorLabels.yml
1706
+ - spec/spec_tests/data/change_streams/change-streams-errors.yml
1707
+ - spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml
1708
+ - spec/spec_tests/data/cmap/pool-create-min-size.yml
1709
+ - spec/spec_tests/data/cmap/pool-close.yml
1710
+ - spec/spec_tests/data/cmap/pool-create-with-options.yml
1711
+ - spec/spec_tests/data/cmap/wait-queue-timeout.yml
1712
+ - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
1713
+ - spec/spec_tests/data/cmap/pool-create-max-size.yml
1714
+ - spec/spec_tests/data/cmap/wait-queue-fairness.yml
1715
+ - spec/spec_tests/data/cmap/pool-checkin-make-available.yml
1716
+ - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
1717
+ - spec/spec_tests/data/cmap/pool-checkout-connection.yml
1718
+ - spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml
1719
+ - spec/spec_tests/data/cmap/pool-create.yml
1720
+ - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
1721
+ - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
1722
+ - spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml
1723
+ - spec/spec_tests/data/cmap/pool-checkin.yml
1724
+ - spec/spec_tests/data/cmap/connection-must-order-ids.yml
1725
+ - spec/spec_tests/data/cmap/connection-must-have-id.yml
1726
+ - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
1727
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
1728
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
1729
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
1730
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
1731
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
1732
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
1733
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
1734
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
1735
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
1736
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
1737
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
1738
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
1739
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
1740
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
1741
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
1742
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
1743
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
1744
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
1745
+ - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
1746
+ - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
1747
+ - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
1748
+ - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
1749
+ - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
1750
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml
1751
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
1752
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
1753
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
1754
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
1755
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
1756
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
1757
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
1758
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
1759
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
1760
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml
1761
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
1762
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
1763
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
1764
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1765
+ - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1766
+ - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1767
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
1768
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml
1769
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1770
+ - spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml
1771
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1772
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1773
+ - spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml
1774
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1775
+ - spec/spec_tests/data/sdam_monitoring/standalone.yml
1776
+ - spec/spec_tests/data/sdam_monitoring/replica_set_primary_address_change.yml
1777
+ - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1778
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1779
+ - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
1780
+ - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
1781
+ - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
1782
+ - spec/spec_tests/data/connection_string/valid-warnings.yml
1783
+ - spec/spec_tests/data/connection_string/valid-auth.yml
1784
+ - spec/spec_tests/data/connection_string/invalid-uris.yml
1785
+ - spec/spec_tests/data/connection_string/valid-options.yml
1786
+ - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
1787
+ - spec/spec_tests/data/gridfs/download.yml
1788
+ - spec/spec_tests/data/gridfs/download_by_name.yml
1789
+ - spec/spec_tests/data/gridfs/upload.yml
1790
+ - spec/spec_tests/data/gridfs/delete.yml
2140
1791
  - spec/spec_tests/data/transactions/bulk.yml
2141
- - spec/spec_tests/data/transactions/findOneAndDelete.yml
2142
- - spec/spec_tests/data/transactions/count.yml
2143
- - spec/spec_tests/data/transactions/mongos-pin-auto.yml
2144
- - spec/spec_tests/data/transactions/commit.yml
2145
- - spec/spec_tests/data/transactions/findOneAndReplace.yml
2146
- - spec/spec_tests/data/transactions/transaction-options-repl.yml
2147
- - spec/spec_tests/data/transactions/retryable-commit-errorLabels.yml
1792
+ - spec/spec_tests/data/transactions/errors.yml
2148
1793
  - spec/spec_tests/data/transactions/create-collection.yml
2149
- - spec/spec_tests/data/transactions/retryable-abort-errorLabels.yml
2150
- - spec/spec_tests/data/transactions/pin-mongos.yml
2151
1794
  - spec/spec_tests/data/transactions/isolation.yml
2152
1795
  - spec/spec_tests/data/transactions/read-pref.yml
2153
- - spec/spec_tests/data/transactions/abort.yml
2154
- - spec/spec_tests/data/transactions/run-command.yml
2155
1796
  - spec/spec_tests/data/transactions/create-index.yml
1797
+ - spec/spec_tests/data/transactions/retryable-abort.yml
1798
+ - spec/spec_tests/data/transactions/abort.yml
1799
+ - spec/spec_tests/data/transactions/findOneAndReplace.yml
1800
+ - spec/spec_tests/data/transactions/retryable-commit-errorLabels.yml
1801
+ - spec/spec_tests/data/transactions/retryable-commit.yml
1802
+ - spec/spec_tests/data/transactions/transaction-options-repl.yml
1803
+ - spec/spec_tests/data/transactions/mongos-pin-auto.yml
1804
+ - spec/spec_tests/data/transactions/retryable-abort-errorLabels.yml
2156
1805
  - spec/spec_tests/data/transactions/insert.yml
2157
- - spec/spec_tests/data/transactions/errors.yml
1806
+ - spec/spec_tests/data/transactions/findOneAndDelete.yml
1807
+ - spec/spec_tests/data/transactions/findOneAndUpdate.yml
1808
+ - spec/spec_tests/data/transactions/delete.yml
1809
+ - spec/spec_tests/data/transactions/mongos-recovery-token.yml
1810
+ - spec/spec_tests/data/transactions/retryable-writes.yml
1811
+ - spec/spec_tests/data/transactions/count.yml
1812
+ - spec/spec_tests/data/transactions/transaction-options.yml
1813
+ - spec/spec_tests/data/transactions/read-concern.yml
1814
+ - spec/spec_tests/data/transactions/pin-mongos.yml
2158
1815
  - spec/spec_tests/data/transactions/update.yml
2159
- - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
2160
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
2161
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
2162
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
2163
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
2164
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
2165
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
2166
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
2167
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
2168
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
2169
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
2170
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
2171
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
2172
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
2173
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
2174
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
2175
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
2176
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
2177
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
2178
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
2179
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
2180
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
2181
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
2182
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
2183
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
2184
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml
2185
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml
2186
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
2187
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
2188
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
2189
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
2190
- - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
2191
- - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
2192
- - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
2193
- - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
2194
- - spec/spec_tests/data/cmap/wait-queue-timeout.yml
2195
- - spec/spec_tests/data/cmap/pool-create-with-options.yml
2196
- - spec/spec_tests/data/cmap/pool-create.yml
2197
- - spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml
2198
- - spec/spec_tests/data/cmap/pool-create-min-size.yml
2199
- - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
2200
- - spec/spec_tests/data/cmap/pool-checkout-connection.yml
2201
- - spec/spec_tests/data/cmap/connection-must-order-ids.yml
2202
- - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
2203
- - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
2204
- - spec/spec_tests/data/cmap/pool-close.yml
2205
- - spec/spec_tests/data/cmap/connection-must-have-id.yml
2206
- - spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml
2207
- - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
2208
- - spec/spec_tests/data/cmap/pool-checkin.yml
2209
- - spec/spec_tests/data/cmap/pool-checkin-make-available.yml
2210
- - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
2211
- - spec/spec_tests/data/cmap/wait-queue-fairness.yml
2212
- - spec/spec_tests/data/cmap/pool-create-max-size.yml
2213
- - spec/spec_tests/data/sdam/sharded/too_new.yml
2214
- - spec/spec_tests/data/sdam/sharded/ruby_primary_mismatched_me.yml
2215
- - spec/spec_tests/data/sdam/sharded/too_old.yml
2216
- - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
2217
- - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
2218
- - spec/spec_tests/data/sdam/sharded/ruby_primary_different_address.yml
2219
- - spec/spec_tests/data/sdam/sharded/discover_single_mongos.yml
2220
- - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
2221
- - spec/spec_tests/data/sdam/sharded/compatible.yml
2222
- - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
2223
- - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
1816
+ - spec/spec_tests/data/transactions/error-labels.yml
1817
+ - spec/spec_tests/data/transactions/causal-consistency.yml
1818
+ - spec/spec_tests/data/transactions/errors-client.yml
1819
+ - spec/spec_tests/data/transactions/commit.yml
1820
+ - spec/spec_tests/data/transactions/reads.yml
1821
+ - spec/spec_tests/data/transactions/write-concern.yml
1822
+ - spec/spec_tests/data/transactions/run-command.yml
1823
+ - spec/spec_tests/data/retryable_reads/listIndexes.yml
1824
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml
1825
+ - spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml
1826
+ - spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml
1827
+ - spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml
1828
+ - spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml
1829
+ - spec/spec_tests/data/retryable_reads/listCollections.yml
1830
+ - spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml
1831
+ - spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml
1832
+ - spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml
1833
+ - spec/spec_tests/data/retryable_reads/find-serverErrors.yml
1834
+ - spec/spec_tests/data/retryable_reads/findOne.yml
1835
+ - spec/spec_tests/data/retryable_reads/mapReduce.yml
1836
+ - spec/spec_tests/data/retryable_reads/countDocuments.yml
1837
+ - spec/spec_tests/data/retryable_reads/listIndexNames.yml
1838
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml
1839
+ - spec/spec_tests/data/retryable_reads/listDatabases.yml
1840
+ - spec/spec_tests/data/retryable_reads/aggregate-merge.yml
1841
+ - spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml
1842
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml
1843
+ - spec/spec_tests/data/retryable_reads/listCollectionNames.yml
1844
+ - spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml
1845
+ - spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml
1846
+ - spec/spec_tests/data/retryable_reads/distinct.yml
1847
+ - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml
1848
+ - spec/spec_tests/data/retryable_reads/gridfs-download.yml
1849
+ - spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml
1850
+ - spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml
1851
+ - spec/spec_tests/data/retryable_reads/find.yml
1852
+ - spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml
1853
+ - spec/spec_tests/data/retryable_reads/aggregate.yml
1854
+ - spec/spec_tests/data/retryable_reads/count.yml
1855
+ - spec/spec_tests/data/retryable_reads/count-serverErrors.yml
1856
+ - spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml
1857
+ - spec/spec_tests/data/retryable_reads/listDatabaseNames.yml
1858
+ - spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml
1859
+ - spec/spec_tests/data/retryable_reads/listCollectionObjects.yml
1860
+ - spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml
1861
+ - spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml
1862
+ - spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml
1863
+ - spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml
1864
+ - spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml
1865
+ - spec/spec_tests/data/command_monitoring/deleteMany.yml
1866
+ - spec/spec_tests/data/command_monitoring/updateOne.yml
1867
+ - spec/spec_tests/data/command_monitoring/deleteOne.yml
1868
+ - spec/spec_tests/data/command_monitoring/insertOne.yml
1869
+ - spec/spec_tests/data/command_monitoring/updateMany.yml
1870
+ - spec/spec_tests/data/command_monitoring/insertMany.yml
1871
+ - spec/spec_tests/data/command_monitoring/find.yml
1872
+ - spec/spec_tests/data/command_monitoring/command.yml
1873
+ - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
1874
+ - spec/spec_tests/data/command_monitoring/bulkWrite.yml
1875
+ - spec/spec_tests/data/crud/read/find-collation.yml
1876
+ - spec/spec_tests/data/crud/read/aggregate-out.yml
1877
+ - spec/spec_tests/data/crud/read/aggregate-collation.yml
1878
+ - spec/spec_tests/data/crud/read/count-empty.yml
1879
+ - spec/spec_tests/data/crud/read/distinct.yml
1880
+ - spec/spec_tests/data/crud/read/distinct-collation.yml
1881
+ - spec/spec_tests/data/crud/read/find.yml
1882
+ - spec/spec_tests/data/crud/read/aggregate.yml
1883
+ - spec/spec_tests/data/crud/read/count.yml
1884
+ - spec/spec_tests/data/crud/read/count-collation.yml
1885
+ - spec/spec_tests/data/crud/write/deleteMany.yml
1886
+ - spec/spec_tests/data/crud/write/updateOne-collation.yml
1887
+ - spec/spec_tests/data/crud/write/updateOne.yml
1888
+ - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
1889
+ - spec/spec_tests/data/crud/write/deleteOne.yml
1890
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1891
+ - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1892
+ - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1893
+ - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1894
+ - spec/spec_tests/data/crud/write/insertOne.yml
1895
+ - spec/spec_tests/data/crud/write/replaceOne.yml
1896
+ - spec/spec_tests/data/crud/write/deleteOne-collation.yml
1897
+ - spec/spec_tests/data/crud/write/updateMany.yml
1898
+ - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1899
+ - spec/spec_tests/data/crud/write/insertMany.yml
1900
+ - spec/spec_tests/data/crud/write/bulkWrite-collation.yml
1901
+ - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
1902
+ - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1903
+ - spec/spec_tests/data/crud/write/findOneAndDelete.yml
1904
+ - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1905
+ - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
1906
+ - spec/spec_tests/data/crud/write/replaceOne-collation.yml
1907
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1908
+ - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1909
+ - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1910
+ - spec/spec_tests/data/crud/write/updateMany-collation.yml
1911
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1912
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1913
+ - spec/spec_tests/data/crud/write/deleteMany-collation.yml
1914
+ - spec/spec_tests/data/crud/write/bulkWrite.yml
1915
+ - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
1916
+ - spec/spec_tests/data/sdam/single/direct_connection_unavailable_seed.yml
1917
+ - spec/spec_tests/data/sdam/single/ruby_primary_mismatched_me.yml
1918
+ - spec/spec_tests/data/sdam/single/too_old.yml
1919
+ - spec/spec_tests/data/sdam/single/compatible.yml
1920
+ - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
1921
+ - spec/spec_tests/data/sdam/single/ruby_primary_different_address.yml
1922
+ - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
1923
+ - spec/spec_tests/data/sdam/single/discover_unavailable_seed.yml
1924
+ - spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml
1925
+ - spec/spec_tests/data/sdam/single/not_ok_response.yml
1926
+ - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
1927
+ - spec/spec_tests/data/sdam/single/too_new.yml
1928
+ - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
1929
+ - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
1930
+ - spec/spec_tests/data/sdam/single/standalone_removed.yml
1931
+ - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
1932
+ - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
1933
+ - spec/spec_tests/data/sdam/single/direct_connection_replicaset.yml
1934
+ - spec/spec_tests/data/sdam/single/discover_standalone.yml
1935
+ - spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml
1936
+ - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
1937
+ - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
1938
+ - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
1939
+ - spec/spec_tests/data/sdam/rs/repeated.yml
1940
+ - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
1941
+ - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
1942
+ - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
1943
+ - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
1944
+ - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
1945
+ - spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml
1946
+ - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
1947
+ - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
1948
+ - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
1949
+ - spec/spec_tests/data/sdam/rs/too_old.yml
1950
+ - spec/spec_tests/data/sdam/rs/discover_primary_replicaset.yml
1951
+ - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
1952
+ - spec/spec_tests/data/sdam/rs/discover_passives_replicaset.yml
1953
+ - spec/spec_tests/data/sdam/rs/compatible.yml
1954
+ - spec/spec_tests/data/sdam/rs/equal_electionids.yml
1955
+ - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
1956
+ - spec/spec_tests/data/sdam/rs/member_reconfig.yml
1957
+ - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
1958
+ - spec/spec_tests/data/sdam/rs/new_primary.yml
1959
+ - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
1960
+ - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
1961
+ - spec/spec_tests/data/sdam/rs/topology_version_greater.yml
1962
+ - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
1963
+ - spec/spec_tests/data/sdam/rs/null_election_id.yml
1964
+ - spec/spec_tests/data/sdam/rs/discover_ghost_replicaset.yml
1965
+ - spec/spec_tests/data/sdam/rs/incompatible_other.yml
1966
+ - spec/spec_tests/data/sdam/rs/discover_rsother.yml
1967
+ - spec/spec_tests/data/sdam/rs/topology_version_less.yml
1968
+ - spec/spec_tests/data/sdam/rs/discover_secondary.yml
1969
+ - spec/spec_tests/data/sdam/rs/discover_primary.yml
1970
+ - spec/spec_tests/data/sdam/rs/normalize_case.yml
1971
+ - spec/spec_tests/data/sdam/rs/discover_ghost.yml
1972
+ - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
1973
+ - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
1974
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
1975
+ - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
1976
+ - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
1977
+ - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
1978
+ - spec/spec_tests/data/sdam/rs/ruby_secondary_wrong_set_name_with_primary_second.yml
1979
+ - spec/spec_tests/data/sdam/rs/discover_arbiters_replicaset.yml
1980
+ - spec/spec_tests/data/sdam/rs/discovery.yml
1981
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
1982
+ - spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
1983
+ - spec/spec_tests/data/sdam/rs/too_new.yml
1984
+ - spec/spec_tests/data/sdam/rs/member_standalone.yml
1985
+ - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
1986
+ - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
1987
+ - spec/spec_tests/data/sdam/rs/discover_hidden.yml
1988
+ - spec/spec_tests/data/sdam/rs/response_from_removed.yml
1989
+ - spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml
1990
+ - spec/spec_tests/data/sdam/rs/discover_hidden_replicaset.yml
1991
+ - spec/spec_tests/data/sdam/rs/topology_version_equal.yml
1992
+ - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
1993
+ - spec/spec_tests/data/sdam/rs/non_rs_member.yml
1994
+ - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
1995
+ - spec/spec_tests/data/sdam/rs/ruby_primary_address_change.yml
1996
+ - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
1997
+ - spec/spec_tests/data/sdam/rs/discover_rsother_replicaset.yml
1998
+ - spec/spec_tests/data/sdam/rs/ls_timeout.yml
1999
+ - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
2000
+ - spec/spec_tests/data/sdam/rs/discover_passives.yml
2001
+ - spec/spec_tests/data/sdam/rs/replicaset_rsnp.yml
2224
2002
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-timeout.yml
2225
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml
2226
- - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml
2227
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterOrSecondary.yml
2228
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMaster.yml
2229
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterOrSecondary.yml
2003
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml
2004
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml
2230
2005
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-PrimarySteppedDown.yml
2231
- - spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml
2232
- - spec/spec_tests/data/sdam/errors/post-42-NotMaster.yml
2233
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterNoSlaveOk.yml
2234
- - spec/spec_tests/data/sdam/errors/post-42-InterruptedDueToReplStateChange.yml
2235
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml
2236
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterOrSecondary.yml
2237
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMaster.yml
2238
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterNoSlaveOk.yml
2239
- - spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml
2240
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterNoSlaveOk.yml
2241
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml
2242
2006
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedDueToReplStateChange.yml
2243
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-PrimarySteppedDown.yml
2244
2007
  - spec/spec_tests/data/sdam/errors/post-42-PrimarySteppedDown.yml
2245
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml
2246
- - spec/spec_tests/data/sdam/errors/pre-42-NotMasterNoSlaveOk.yml
2247
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMaster.yml
2248
2008
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.yml
2249
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-ShutdownInProgress.yml
2250
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterNoSlaveOk.yml
2251
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMaster.yml
2009
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.yml
2010
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotMaster.yml
2011
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml
2012
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterNoSlaveOk.yml
2252
2013
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml
2253
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml
2254
2014
  - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterOrSecondary.yml
2255
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml
2256
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterOrSecondary.yml
2257
- - spec/spec_tests/data/sdam/errors/pre-42-NotMasterOrSecondary.yml
2258
2015
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-ShutdownInProgress.yml
2259
- - spec/spec_tests/data/sdam/errors/post-42-NotMasterOrSecondary.yml
2260
- - spec/spec_tests/data/sdam/errors/pre-42-InterruptedDueToReplStateChange.yml
2261
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-ShutdownInProgress.yml
2262
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml
2263
- - spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml
2264
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterOrSecondary.yml
2265
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterNoSlaveOk.yml
2266
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.yml
2267
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterNoSlaveOk.yml
2268
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml
2016
+ - spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml
2269
2017
  - spec/spec_tests/data/sdam/errors/non-stale-network-error.yml
2018
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml
2019
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterOrSecondary.yml
2270
2020
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMaster.yml
2271
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-PrimarySteppedDown.yml
2272
2021
  - spec/spec_tests/data/sdam/errors/post-42-NotMasterNoSlaveOk.yml
2273
- - spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml
2274
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMaster.yml
2275
- - spec/spec_tests/data/sdam/errors/pre-42-ShutdownInProgress.yml
2022
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterNoSlaveOk.yml
2023
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMaster.yml
2024
+ - spec/spec_tests/data/sdam/errors/post-42-InterruptedDueToReplStateChange.yml
2025
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-network.yml
2026
+ - spec/spec_tests/data/sdam/errors/post-42-NotMasterOrSecondary.yml
2276
2027
  - spec/spec_tests/data/sdam/errors/pre-42-NotMaster.yml
2277
- - spec/spec_tests/data/sdam/errors/error_handling_handshake.yml
2028
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMaster.yml
2029
+ - spec/spec_tests/data/sdam/errors/pre-42-NotMasterOrSecondary.yml
2030
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterNoSlaveOk.yml
2031
+ - spec/spec_tests/data/sdam/errors/post-42-NotMaster.yml
2032
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterOrSecondary.yml
2033
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml
2034
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml
2035
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterNoSlaveOk.yml
2036
+ - spec/spec_tests/data/sdam/errors/pre-42-ShutdownInProgress.yml
2037
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-ShutdownInProgress.yml
2038
+ - spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml
2039
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMaster.yml
2040
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-ShutdownInProgress.yml
2041
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMaster.yml
2042
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterOrSecondary.yml
2043
+ - spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml
2044
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMaster.yml
2278
2045
  - spec/spec_tests/data/sdam/errors/post-42-InterruptedAtShutdown.yml
2279
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml
2280
- - spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml
2046
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml
2047
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.yml
2048
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.yml
2049
+ - spec/spec_tests/data/sdam/errors/pre-42-InterruptedDueToReplStateChange.yml
2050
+ - spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml
2051
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml
2052
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml
2281
2053
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-network.yml
2282
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-network.yml
2054
+ - spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml
2055
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml
2056
+ - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml
2283
2057
  - spec/spec_tests/data/sdam/errors/non-stale-network-timeout-error.yml
2284
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml
2285
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml
2286
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.yml
2058
+ - spec/spec_tests/data/sdam/errors/pre-42-NotMasterNoSlaveOk.yml
2287
2059
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml
2288
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml
2289
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.yml
2290
- - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml
2291
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMaster.yml
2292
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml
2293
2060
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml
2294
- - spec/spec_tests/data/sdam/rs/discover_rsother.yml
2295
- - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
2296
- - spec/spec_tests/data/sdam/rs/discover_arbiters_replicaset.yml
2297
- - spec/spec_tests/data/sdam/rs/response_from_removed.yml
2298
- - spec/spec_tests/data/sdam/rs/ls_timeout.yml
2299
- - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
2300
- - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
2301
- - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
2302
- - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
2303
- - spec/spec_tests/data/sdam/rs/topology_version_greater.yml
2304
- - spec/spec_tests/data/sdam/rs/null_election_id.yml
2305
- - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
2306
- - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
2307
- - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
2308
- - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
2309
- - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
2310
- - spec/spec_tests/data/sdam/rs/replicaset_rsnp.yml
2311
- - spec/spec_tests/data/sdam/rs/member_reconfig.yml
2312
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
2313
- - spec/spec_tests/data/sdam/rs/new_primary.yml
2314
- - spec/spec_tests/data/sdam/rs/too_new.yml
2315
- - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
2316
- - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
2317
- - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
2318
- - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
2319
- - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
2320
- - spec/spec_tests/data/sdam/rs/discover_ghost_replicaset.yml
2321
- - spec/spec_tests/data/sdam/rs/discover_rsother_replicaset.yml
2322
- - spec/spec_tests/data/sdam/rs/topology_version_less.yml
2323
- - spec/spec_tests/data/sdam/rs/ruby_primary_address_change.yml
2324
- - spec/spec_tests/data/sdam/rs/equal_electionids.yml
2325
- - spec/spec_tests/data/sdam/rs/non_rs_member.yml
2326
- - spec/spec_tests/data/sdam/rs/incompatible_other.yml
2327
- - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
2328
- - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
2329
- - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
2330
- - spec/spec_tests/data/sdam/rs/discover_passives.yml
2331
- - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
2332
- - spec/spec_tests/data/sdam/rs/too_old.yml
2333
- - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
2334
- - spec/spec_tests/data/sdam/rs/discover_hidden.yml
2335
- - spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml
2336
- - spec/spec_tests/data/sdam/rs/discover_primary_replicaset.yml
2337
- - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
2338
- - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
2339
- - spec/spec_tests/data/sdam/rs/topology_version_equal.yml
2340
- - spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml
2341
- - spec/spec_tests/data/sdam/rs/discover_ghost.yml
2342
- - spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
2343
- - spec/spec_tests/data/sdam/rs/repeated.yml
2344
- - spec/spec_tests/data/sdam/rs/normalize_case.yml
2345
- - spec/spec_tests/data/sdam/rs/ruby_secondary_wrong_set_name_with_primary_second.yml
2346
- - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
2347
- - spec/spec_tests/data/sdam/rs/discover_primary.yml
2348
- - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
2349
- - spec/spec_tests/data/sdam/rs/compatible.yml
2350
- - spec/spec_tests/data/sdam/rs/discover_secondary.yml
2351
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
2352
- - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
2353
- - spec/spec_tests/data/sdam/rs/member_standalone.yml
2354
- - spec/spec_tests/data/sdam/rs/discovery.yml
2355
- - spec/spec_tests/data/sdam/rs/discover_hidden_replicaset.yml
2356
- - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
2357
- - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
2358
- - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
2359
- - spec/spec_tests/data/sdam/rs/discover_passives_replicaset.yml
2360
- - spec/spec_tests/data/sdam/single/discover_standalone.yml
2361
- - spec/spec_tests/data/sdam/single/direct_connection_unavailable_seed.yml
2362
- - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
2363
- - spec/spec_tests/data/sdam/single/discover_unavailable_seed.yml
2364
- - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
2365
- - spec/spec_tests/data/sdam/single/not_ok_response.yml
2366
- - spec/spec_tests/data/sdam/single/direct_connection_replicaset.yml
2367
- - spec/spec_tests/data/sdam/single/too_new.yml
2368
- - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
2369
- - spec/spec_tests/data/sdam/single/standalone_removed.yml
2370
- - spec/spec_tests/data/sdam/single/ruby_primary_mismatched_me.yml
2371
- - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
2372
- - spec/spec_tests/data/sdam/single/too_old.yml
2373
- - spec/spec_tests/data/sdam/single/ruby_primary_different_address.yml
2374
- - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
2375
- - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
2376
- - spec/spec_tests/data/sdam/single/compatible.yml
2377
- - spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml
2378
- - spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml
2379
- - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
2380
- - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
2381
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
2382
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
2383
- - spec/spec_tests/data/transactions_api/callback-aborts.yml
2384
- - spec/spec_tests/data/transactions_api/callback-retry.yml
2385
- - spec/spec_tests/data/transactions_api/commit-retry.yml
2386
- - spec/spec_tests/data/transactions_api/transaction-options.yml
2387
- - spec/spec_tests/data/transactions_api/callback-commits.yml
2388
- - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
2389
- - spec/spec_tests/data/transactions_api/commit.yml
2061
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-PrimarySteppedDown.yml
2062
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-PrimarySteppedDown.yml
2063
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml
2064
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterNoSlaveOk.yml
2065
+ - spec/spec_tests/data/sdam/errors/error_handling_handshake.yml
2066
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterOrSecondary.yml
2067
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml
2068
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml
2069
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterNoSlaveOk.yml
2070
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterOrSecondary.yml
2071
+ - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml
2072
+ - spec/spec_tests/data/sdam/sharded/ruby_primary_mismatched_me.yml
2073
+ - spec/spec_tests/data/sdam/sharded/too_old.yml
2074
+ - spec/spec_tests/data/sdam/sharded/compatible.yml
2075
+ - spec/spec_tests/data/sdam/sharded/ruby_primary_different_address.yml
2076
+ - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
2077
+ - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
2078
+ - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
2079
+ - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
2080
+ - spec/spec_tests/data/sdam/sharded/too_new.yml
2081
+ - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
2082
+ - spec/spec_tests/data/sdam/sharded/discover_single_mongos.yml
2083
+ - spec/spec_tests/data/read_write_concern/document/read-concern.yml
2084
+ - spec/spec_tests/data/read_write_concern/document/write-concern.yml
2085
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-2.6.yml
2086
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.4.yml
2087
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.2.yml
2088
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-4.2.yml
2089
+ - spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml
2090
+ - spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml
2091
+ - spec/spec_tests/data/auth/connection-string.yml
2092
+ - spec/spec_tests/data/server_selection_rtt/first_value.yml
2093
+ - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
2390
2094
  - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
2391
- - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
2392
2095
  - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
2393
- - spec/spec_tests/data/server_selection_rtt/first_value.yml
2394
- - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
2395
2096
  - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
2396
- - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
2397
- - spec/spec_tests/retryable_reads_spec.rb
2398
- - spec/spec_tests/read_write_concern_document_spec.rb
2399
- - spec/spec_tests/server_selection_rtt_spec.rb
2400
- - spec/spec_tests/retryable_writes_spec.rb
2401
- - spec/spec_tests/command_monitoring_spec.rb
2402
- - spec/spec_tests/transactions_api_spec.rb
2403
- - spec/spec_tests/read_write_concern_connection_string_spec.rb
2404
- - spec/spec_tests/sdam_spec.rb
2405
- - spec/spec_tests/sdam_monitoring_spec.rb
2097
+ - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
2098
+ - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
2099
+ - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-serverError.yml
2100
+ - spec/spec_tests/data/crud_v2/deleteOne-hint-clientError.yml
2101
+ - spec/spec_tests/data/crud_v2/updateOne-hint.yml
2102
+ - spec/spec_tests/data/crud_v2/db-aggregate.yml
2103
+ - spec/spec_tests/data/crud_v2/unacknowledged-updateOne-hint-clientError.yml
2104
+ - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-clientError.yml
2105
+ - spec/spec_tests/data/crud_v2/unacknowledged-deleteOne-hint-clientError.yml
2106
+ - spec/spec_tests/data/crud_v2/bulkWrite-update-hint.yml
2107
+ - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndUpdate-hint-clientError.yml
2108
+ - spec/spec_tests/data/crud_v2/findOneAndReplace-hint.yml
2109
+ - spec/spec_tests/data/crud_v2/updateMany-hint.yml
2110
+ - spec/spec_tests/data/crud_v2/deleteMany-hint.yml
2111
+ - spec/spec_tests/data/crud_v2/deleteOne-hint-serverError.yml
2112
+ - spec/spec_tests/data/crud_v2/find-allowdiskuse-serverError.yml
2113
+ - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint.yml
2114
+ - spec/spec_tests/data/crud_v2/updateMany-hint-serverError.yml
2115
+ - spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml
2116
+ - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint.yml
2117
+ - spec/spec_tests/data/crud_v2/findOneAndDelete-hint.yml
2118
+ - spec/spec_tests/data/crud_v2/updateOne-hint-clientError.yml
2119
+ - spec/spec_tests/data/crud_v2/replaceOne-hint.yml
2120
+ - spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
2121
+ - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-update-hint-clientError.yml
2122
+ - spec/spec_tests/data/crud_v2/deleteMany-hint-clientError.yml
2123
+ - spec/spec_tests/data/crud_v2/updateOne-hint-serverError.yml
2124
+ - spec/spec_tests/data/crud_v2/aggregate-merge.yml
2125
+ - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-serverError.yml
2126
+ - spec/spec_tests/data/crud_v2/updateMany-hint-clientError.yml
2127
+ - spec/spec_tests/data/crud_v2/deleteOne-hint.yml
2128
+ - spec/spec_tests/data/crud_v2/updateWithPipelines.yml
2129
+ - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-serverError.yml
2130
+ - spec/spec_tests/data/crud_v2/find-allowdiskuse.yml
2131
+ - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-clientError.yml
2132
+ - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-clientError.yml
2133
+ - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-clientError.yml
2134
+ - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-clientError.yml
2135
+ - spec/spec_tests/data/crud_v2/unacknowledged-updateMany-hint-clientError.yml
2136
+ - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndReplace-hint-clientError.yml
2137
+ - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-delete-hint-clientError.yml
2138
+ - spec/spec_tests/data/crud_v2/find-allowdiskuse-clientError.yml
2139
+ - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-serverError.yml
2140
+ - spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml
2141
+ - spec/spec_tests/data/crud_v2/unacknowledged-replaceOne-hint-clientError.yml
2142
+ - spec/spec_tests/data/crud_v2/deleteMany-hint-serverError.yml
2143
+ - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-serverError.yml
2144
+ - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndDelete-hint-clientError.yml
2406
2145
  - spec/spec_tests/cmap_spec.rb
2407
- - spec/spec_tests/gridfs_spec.rb
2408
- - spec/spec_tests/uri_options_spec.rb
2409
- - spec/spec_tests/crud_spec.rb
2410
- - spec/spec_tests/change_streams_spec.rb
2411
- - spec/spec_tests/server_selection_spec.rb
2412
- - spec/spec_tests/client_side_encryption_spec.rb
2413
- - spec/spec_tests/transactions_spec.rb
2414
- - spec/spec_tests/read_write_concern_operaton_spec.rb
2415
- - spec/spec_tests/max_staleness_spec.rb
2416
- - spec/spec_helper.rb
2417
- - spec/integration/transactions_api_examples_spec.rb
2418
- - spec/integration/auth_spec.rb
2419
- - spec/integration/client_spec.rb
2420
- - spec/integration/heartbeat_events_spec.rb
2421
- - spec/integration/step_down_spec.rb
2422
- - spec/integration/x509_auth_spec.rb
2423
- - spec/integration/srv_monitoring_spec.rb
2424
- - spec/integration/error_detection_spec.rb
2425
- - spec/integration/mmapv1_spec.rb
2426
- - spec/integration/transactions_examples_spec.rb
2427
- - spec/integration/fork_reconnect_spec.rb
2146
+ - spec/NOTES.aws-auth.md
2147
+ - spec/support/authorization.rb
2148
+ - spec/support/shared/session.rb
2149
+ - spec/support/shared/protocol.rb
2150
+ - spec/support/shared/server_selector.rb
2151
+ - spec/support/shared/scram_conversation.rb
2152
+ - spec/support/keyword_struct.rb
2153
+ - spec/support/client_registry_macros.rb
2154
+ - spec/support/constraints.rb
2155
+ - spec/support/matchers.rb
2156
+ - spec/support/sdam_formatter_integration.rb
2157
+ - spec/support/crypt/corpus/corpus.json
2158
+ - spec/support/crypt/corpus/corpus-schema.json
2159
+ - spec/support/crypt/corpus/corpus-key-aws.json
2160
+ - spec/support/crypt/corpus/corpus-key-local.json
2161
+ - spec/support/crypt/corpus/corpus_encrypted.json
2162
+ - spec/support/crypt/external/external-key.json
2163
+ - spec/support/crypt/external/external-schema.json
2164
+ - spec/support/crypt/schema_maps/schema_map_aws.json
2165
+ - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
2166
+ - spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json
2167
+ - spec/support/crypt/schema_maps/schema_map_local.json
2168
+ - spec/support/crypt/data_keys/key_document_local.json
2169
+ - spec/support/crypt/data_keys/key_document_aws.json
2170
+ - spec/support/crypt/limits/limits-key.json
2171
+ - spec/support/crypt/limits/limits-doc.json
2172
+ - spec/support/crypt/limits/limits-schema.json
2173
+ - spec/support/dns.rb
2174
+ - spec/support/aws_utils/base.rb
2175
+ - spec/support/aws_utils/orchestrator.rb
2176
+ - spec/support/aws_utils/inspector.rb
2177
+ - spec/support/aws_utils/provisioner.rb
2178
+ - spec/support/json_ext_formatter.rb
2179
+ - spec/support/utils.rb
2180
+ - spec/support/primary_socket.rb
2181
+ - spec/support/cluster_config.rb
2182
+ - spec/support/lite_constraints.rb
2183
+ - spec/support/monitoring_ext.rb
2184
+ - spec/support/event_subscriber.rb
2185
+ - spec/support/client_registry.rb
2186
+ - spec/support/spec_config.rb
2187
+ - spec/support/spec_setup.rb
2188
+ - spec/support/aws_utils.rb
2189
+ - spec/support/common_shortcuts.rb
2190
+ - spec/support/background_thread_registry.rb
2191
+ - spec/support/crypt.rb
2192
+ - spec/support/child_process_helper.rb
2193
+ - spec/support/local_resource_registry.rb
2194
+ - spec/support/cluster_tools.rb
2195
+ - spec/support/certificates/multi-ca.crt
2196
+ - spec/support/certificates/client-x509.key
2197
+ - spec/support/certificates/README.md
2198
+ - spec/support/certificates/client-second-level.crt
2199
+ - spec/support/certificates/python-ca.crt
2200
+ - spec/support/certificates/crl.pem
2201
+ - spec/support/certificates/client.crt
2202
+ - spec/support/certificates/client-second-level.key
2203
+ - spec/support/certificates/client.key
2204
+ - spec/support/certificates/client-encrypted.key
2205
+ - spec/support/certificates/server-second-level-bundle.pem
2206
+ - spec/support/certificates/client-second-level.pem
2207
+ - spec/support/certificates/server-int.crt
2208
+ - spec/support/certificates/crl_client_revoked.pem
2209
+ - spec/support/certificates/client-int.crt
2210
+ - spec/support/certificates/client.pem
2211
+ - spec/support/certificates/client-x509.crt
2212
+ - spec/support/certificates/server-second-level.crt
2213
+ - spec/support/certificates/server-second-level.key
2214
+ - spec/support/certificates/client-second-level-bundle.pem
2215
+ - spec/support/certificates/ca.crt
2216
+ - spec/support/certificates/client-x509.pem
2217
+ - spec/support/certificates/server.pem
2218
+ - spec/support/certificates/server-second-level.pem
2219
+ - spec/support/spec_organizer.rb
2220
+ - spec/runners/gridfs.rb
2221
+ - spec/runners/transactions.rb
2222
+ - spec/runners/sdam.rb
2223
+ - spec/runners/read_write_concern_document.rb
2224
+ - spec/runners/auth.rb
2225
+ - spec/runners/change_streams/outcome.rb
2226
+ - spec/runners/change_streams/spec.rb
2227
+ - spec/runners/change_streams/test.rb
2228
+ - spec/runners/connection_string.rb
2229
+ - spec/runners/cmap/verifier.rb
2230
+ - spec/runners/cmap.rb
2231
+ - spec/runners/server_selection.rb
2232
+ - spec/runners/transactions/spec.rb
2233
+ - spec/runners/transactions/operation.rb
2234
+ - spec/runners/transactions/test.rb
2235
+ - spec/runners/crud/outcome.rb
2236
+ - spec/runners/crud/test_base.rb
2237
+ - spec/runners/crud/context.rb
2238
+ - spec/runners/crud/spec.rb
2239
+ - spec/runners/crud/requirement.rb
2240
+ - spec/runners/crud/operation.rb
2241
+ - spec/runners/crud/test.rb
2242
+ - spec/runners/crud/verifier.rb
2243
+ - spec/runners/command_monitoring.rb
2244
+ - spec/runners/sdam/verifier.rb
2245
+ - spec/runners/server_selection_rtt.rb
2246
+ - spec/runners/crud.rb
2247
+ - spec/README.aws-auth.md
2248
+ - spec/integration/grid_fs_bucket_spec.rb
2249
+ - spec/integration/mongos_pinning_spec.rb
2250
+ - spec/integration/sdam_error_handling_spec.rb
2251
+ - spec/integration/server_monitor_spec.rb
2428
2252
  - spec/integration/aws_auth_request_spec.rb
2429
- - spec/integration/aws_credentials_retriever_spec.rb
2430
- - spec/integration/connection_pool_populator_spec.rb
2431
- - spec/integration/server_description_spec.rb
2432
- - spec/integration/command_spec.rb
2433
- - spec/integration/command_monitoring_spec.rb
2434
- - spec/integration/read_preference_spec.rb
2435
- - spec/integration/size_limit_spec.rb
2436
- - spec/integration/connect_single_rs_name_spec.rb
2437
- - spec/integration/retryable_writes_errors_spec.rb
2253
+ - spec/integration/bson_symbol_spec.rb
2254
+ - spec/integration/size_limit_spec.rb~12e1e9c4f... RUBY-2242 Fix zlib compression
2255
+ (#2021)
2256
+ - spec/integration/client_side_encryption/corpus_spec.rb
2257
+ - spec/integration/client_side_encryption/external_key_vault_spec.rb
2258
+ - spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb
2259
+ - spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb
2260
+ - spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb
2261
+ - spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb
2262
+ - spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb
2263
+ - spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb
2264
+ - spec/integration/client_side_encryption/views_spec.rb
2265
+ - spec/integration/client_side_encryption/client_close_spec.rb
2266
+ - spec/integration/client_side_encryption/explicit_encryption_spec.rb
2267
+ - spec/integration/client_side_encryption/auto_encryption_spec.rb
2268
+ - spec/integration/client_side_encryption/custom_endpoint_spec.rb
2269
+ - spec/integration/client_side_encryption/data_key_spec.rb
2270
+ - spec/integration/client_side_encryption/bson_size_limit_spec.rb
2438
2271
  - spec/integration/change_stream_spec.rb
2272
+ - spec/integration/transactions_api_examples_spec.rb
2273
+ - spec/integration/heartbeat_events_spec.rb
2439
2274
  - spec/integration/retryable_writes/shared/supports_legacy_retries.rb
2275
+ - spec/integration/retryable_writes/shared/supports_retries.rb
2276
+ - spec/integration/retryable_writes/shared/performs_legacy_retries.rb
2440
2277
  - spec/integration/retryable_writes/shared/performs_no_retries.rb
2278
+ - spec/integration/retryable_writes/shared/adds_diagnostics.rb
2441
2279
  - spec/integration/retryable_writes/shared/supports_modern_retries.rb
2442
- - spec/integration/retryable_writes/shared/performs_modern_retries.rb
2443
- - spec/integration/retryable_writes/shared/performs_legacy_retries.rb
2444
2280
  - spec/integration/retryable_writes/shared/only_supports_legacy_retries.rb
2445
- - spec/integration/retryable_writes/shared/adds_diagnostics.rb
2446
- - spec/integration/retryable_writes/shared/supports_retries.rb
2281
+ - spec/integration/retryable_writes/shared/performs_modern_retries.rb
2447
2282
  - spec/integration/retryable_writes/shared/does_not_support_retries.rb
2448
2283
  - spec/integration/retryable_writes/retryable_writes_36_and_older_spec.rb
2449
2284
  - spec/integration/retryable_writes/retryable_writes_40_and_newer_spec.rb
2450
- - spec/integration/cursor_reaping_spec.rb
2451
- - spec/integration/ssl_uri_options_spec.rb
2452
- - spec/integration/read_concern_spec.rb
2453
- - spec/integration/client_authentication_options_spec.rb
2454
- - spec/integration/sdam_events_spec.rb
2455
- - spec/integration/sdam_error_handling_spec.rb
2456
- - spec/integration/client_construction_aws_auth_spec.rb
2457
- - spec/integration/operation_failure_code_spec.rb
2458
- - spec/integration/client_connectivity_spec.rb
2459
- - spec/integration/crud_spec.rb
2460
- - spec/integration/collection_indexes_prose_spec.rb
2461
- - spec/integration/client_side_encryption/views_spec.rb
2462
- - spec/integration/client_side_encryption/bson_size_limit_spec.rb
2463
- - spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb
2464
- - spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb
2465
- - spec/integration/client_side_encryption/corpus_spec.rb
2466
- - spec/integration/client_side_encryption/auto_encryption_spec.rb
2467
- - spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb
2468
- - spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb
2469
- - spec/integration/client_side_encryption/client_close_spec.rb
2470
- - spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb
2471
- - spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb
2472
- - spec/integration/client_side_encryption/external_key_vault_spec.rb
2473
- - spec/integration/client_side_encryption/data_key_spec.rb
2474
- - spec/integration/client_side_encryption/custom_endpoint_spec.rb
2475
- - spec/integration/client_side_encryption/explicit_encryption_spec.rb
2476
- - spec/integration/client_update_spec.rb
2477
- - spec/integration/server_spec.rb
2285
+ - spec/integration/retryable_writes_errors_spec.rb
2286
+ - spec/integration/x509_auth_spec.rb
2287
+ - spec/integration/fork_reconnect_spec.rb
2288
+ - spec/integration/command_monitoring_spec.rb
2289
+ - spec/integration/collection_indexes_prose_spec.rb
2478
2290
  - spec/integration/connection_spec.rb
2479
- - spec/integration/change_stream_examples_spec.rb
2291
+ - spec/integration/client_construction_spec.rb
2292
+ - spec/integration/connect_single_rs_name_spec.rb
2480
2293
  - spec/integration/reconnect_spec.rb
2481
- - spec/integration/bson_symbol_spec.rb
2294
+ - spec/integration/client_authentication_options_spec.rb
2295
+ - spec/integration/check_clean_slate_spec.rb
2296
+ - spec/integration/client_construction_aws_auth_spec.rb
2297
+ - spec/integration/ssl_uri_options_spec.rb
2298
+ - spec/integration/mmapv1_spec.rb
2299
+ - spec/integration/awaited_ismaster_spec.rb
2300
+ - spec/integration/docs_examples_spec.rb
2301
+ - spec/integration/get_more_spec.rb
2302
+ - spec/integration/read_preference_spec.rb
2303
+ - spec/integration/sdam_prose_spec.rb
2304
+ - spec/integration/aws_credentials_retriever_spec.rb
2305
+ - spec/integration/auth_spec.rb
2306
+ - spec/integration/retryable_errors_spec.rb
2482
2307
  - spec/integration/shell_examples_spec.rb
2308
+ - spec/integration/server_spec.rb
2309
+ - spec/integration/change_stream_examples_spec.rb
2310
+ - spec/integration/sdam_events_spec.rb
2311
+ - spec/integration/step_down_spec.rb
2312
+ - spec/integration/read_concern_spec.rb
2313
+ - spec/integration/cursor_reaping_spec.rb
2483
2314
  - spec/integration/bulk_insert_spec.rb
2484
- - spec/integration/client_construction_spec.rb
2485
- - spec/integration/server_monitor_spec.rb
2486
- - spec/integration/mongos_pinning_spec.rb
2487
- - spec/integration/server_selector_spec.rb
2488
- - spec/integration/get_more_spec.rb
2315
+ - spec/integration/crud_spec.rb
2316
+ - spec/integration/error_detection_spec.rb
2317
+ - spec/integration/server_description_spec.rb
2318
+ - spec/integration/client_spec.rb
2319
+ - spec/integration/client_update_spec.rb
2489
2320
  - spec/integration/time_zone_querying_spec.rb
2490
- - spec/integration/retryable_errors_spec.rb
2491
- - spec/integration/docs_examples_spec.rb
2492
- - spec/lite_spec_helper.rb
2321
+ - spec/integration/size_limit_spec.rb
2322
+ - spec/integration/command_spec.rb
2323
+ - spec/integration/operation_failure_code_spec.rb
2324
+ - spec/integration/client_connectivity_spec.rb
2325
+ - spec/integration/server_selector_spec.rb
2326
+ - spec/integration/transactions_examples_spec.rb
2327
+ - spec/integration/zlib_compression_spec.rb
2328
+ - spec/integration/connection_pool_populator_spec.rb
2329
+ - spec/integration/srv_monitoring_spec.rb
2330
+ - spec/stress/cleanup_spec.rb
2331
+ - spec/stress/connection_pool_stress_spec.rb
2332
+ - spec/stress/fork_reconnect_stress_spec.rb
2333
+ - spec/stress/connection_pool_timing_spec.rb
2334
+ - spec/kerberos/kerberos_spec.rb
2335
+ - spec/mongo/server/connection_pool/populator_spec.rb
2336
+ - spec/mongo/server/app_metadata_shared.rb
2337
+ - spec/mongo/server/app_metadata_spec.rb
2338
+ - spec/mongo/server/connection_spec.rb
2339
+ - spec/mongo/server/monitor/app_metadata_spec.rb
2340
+ - spec/mongo/server/monitor/connection_spec.rb
2341
+ - spec/mongo/server/connection_pool_spec.rb
2342
+ - spec/mongo/server/description_query_methods_spec.rb
2343
+ - spec/mongo/server/description_spec.rb
2344
+ - spec/mongo/server/connection_auth_spec.rb
2345
+ - spec/mongo/server/description/features_spec.rb
2346
+ - spec/mongo/server/round_trip_time_averager_spec.rb
2347
+ - spec/mongo/server/monitor_spec.rb
2348
+ - spec/mongo/dbref_spec.rb
2349
+ - spec/mongo/collection_spec.rb
2350
+ - spec/mongo/operation/insert_spec.rb
2351
+ - spec/mongo/operation/result_spec.rb
2352
+ - spec/mongo/operation/indexes_spec.rb
2353
+ - spec/mongo/operation/read_preference_op_msg_spec.rb
2354
+ - spec/mongo/operation/drop_index_spec.rb
2355
+ - spec/mongo/operation/kill_cursors_spec.rb
2356
+ - spec/mongo/operation/create_index_spec.rb
2357
+ - spec/mongo/operation/find/legacy_spec.rb
2358
+ - spec/mongo/operation/aggregate_spec.rb
2359
+ - spec/mongo/operation/delete/op_msg_spec.rb
2360
+ - spec/mongo/operation/delete/command_spec.rb
2361
+ - spec/mongo/operation/delete/bulk_spec.rb
2362
+ - spec/mongo/operation/delete_spec.rb
2363
+ - spec/mongo/operation/specifiable_spec.rb
2364
+ - spec/mongo/operation/get_more_spec.rb
2365
+ - spec/mongo/operation/create_user_spec.rb
2366
+ - spec/mongo/operation/insert/op_msg_spec.rb
2367
+ - spec/mongo/operation/insert/command_spec.rb
2368
+ - spec/mongo/operation/insert/bulk_spec.rb
2369
+ - spec/mongo/operation/remove_user_spec.rb
2370
+ - spec/mongo/operation/limited_spec.rb
2371
+ - spec/mongo/operation/read_preference_legacy_spec.rb
2372
+ - spec/mongo/operation/update/op_msg_spec.rb
2373
+ - spec/mongo/operation/update/command_spec.rb
2374
+ - spec/mongo/operation/update/bulk_spec.rb
2375
+ - spec/mongo/operation/collections_info_spec.rb
2376
+ - spec/mongo/operation/command_spec.rb
2377
+ - spec/mongo/operation/update_user_spec.rb
2378
+ - spec/mongo/operation/update_spec.rb
2379
+ - spec/mongo/operation/map_reduce_spec.rb
2380
+ - spec/mongo/operation/aggregate/result_spec.rb
2381
+ - spec/mongo/address/ipv4_spec.rb
2382
+ - spec/mongo/address/ipv6_spec.rb
2383
+ - spec/mongo/address/validator_spec.rb
2384
+ - spec/mongo/address/unix_spec.rb
2385
+ - spec/mongo/protocol/insert_spec.rb
2386
+ - spec/mongo/protocol/reply_spec.rb
2387
+ - spec/mongo/protocol/kill_cursors_spec.rb
2388
+ - spec/mongo/protocol/delete_spec.rb
2389
+ - spec/mongo/protocol/msg_spec.rb
2390
+ - spec/mongo/protocol/query_spec.rb
2391
+ - spec/mongo/protocol/get_more_spec.rb
2392
+ - spec/mongo/protocol/compressed_spec.rb
2393
+ - spec/mongo/protocol/registry_spec.rb
2394
+ - spec/mongo/protocol/update_spec.rb
2395
+ - spec/mongo/cluster/socket_reaper_spec.rb
2396
+ - spec/mongo/cluster/cursor_reaper_spec.rb
2397
+ - spec/mongo/cluster/topology/sharded_spec.rb
2398
+ - spec/mongo/cluster/topology/unknown_spec.rb
2399
+ - spec/mongo/cluster/topology/single_spec.rb
2400
+ - spec/mongo/cluster/topology/replica_set_spec.rb
2401
+ - spec/mongo/cluster/topology_spec.rb
2402
+ - spec/mongo/cluster/periodic_executor_spec.rb
2403
+ - spec/mongo/client_encryption_spec.rb
2404
+ - spec/mongo/bulk_write_spec.rb
2405
+ - spec/mongo/index/view_spec.rb
2406
+ - spec/mongo/write_concern_spec.rb
2407
+ - spec/mongo/session/server_session_spec.rb
2408
+ - spec/mongo/session/session_pool_spec.rb
2409
+ - spec/mongo/monitoring/command_log_subscriber_spec.rb
2410
+ - spec/mongo/monitoring/event/command_failed_spec.rb
2411
+ - spec/mongo/monitoring/event/server_description_changed_spec.rb
2412
+ - spec/mongo/monitoring/event/topology_opening_spec.rb
2413
+ - spec/mongo/monitoring/event/secure_spec.rb
2414
+ - spec/mongo/monitoring/event/command_started_spec.rb
2415
+ - spec/mongo/monitoring/event/server_closed_spec.rb
2416
+ - spec/mongo/monitoring/event/topology_changed_spec.rb
2417
+ - spec/mongo/monitoring/event/server_opening_spec.rb
2418
+ - spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb
2419
+ - spec/mongo/monitoring/event/cmap/pool_closed_spec.rb
2420
+ - spec/mongo/monitoring/event/cmap/connection_ready_spec.rb
2421
+ - spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb
2422
+ - spec/mongo/monitoring/event/cmap/connection_created_spec.rb
2423
+ - spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb
2424
+ - spec/mongo/monitoring/event/cmap/pool_created_spec.rb
2425
+ - spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb
2426
+ - spec/mongo/monitoring/event/cmap/connection_closed_spec.rb
2427
+ - spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb
2428
+ - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
2429
+ - spec/mongo/monitoring/event/command_succeeded_spec.rb
2430
+ - spec/mongo/monitoring/event/topology_closed_spec.rb
2431
+ - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
2432
+ - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
2433
+ - spec/mongo/server_selector/secondary_preferred_spec.rb
2434
+ - spec/mongo/server_selector/secondary_spec.rb
2435
+ - spec/mongo/server_selector/primary_spec.rb
2436
+ - spec/mongo/server_selector/primary_preferred_spec.rb
2437
+ - spec/mongo/server_selector/nearest_spec.rb
2438
+ - spec/mongo/options/redacted_spec.rb
2439
+ - spec/mongo/write_concern/acknowledged_spec.rb
2440
+ - spec/mongo/write_concern/unacknowledged_spec.rb
2441
+ - spec/mongo/socket/ssl_spec.rb
2442
+ - spec/mongo/socket/tcp_spec.rb
2443
+ - spec/mongo/socket/unix_spec.rb
2444
+ - spec/mongo/id_spec.rb
2445
+ - spec/mongo/uri/srv_protocol_spec.rb
2446
+ - spec/mongo/client_construction_spec.rb
2447
+ - spec/mongo/cursor/builder/op_kill_cursors_spec.rb
2448
+ - spec/mongo/cursor/builder/get_more_command_spec.rb
2449
+ - spec/mongo/cursor/builder/op_get_more_spec.rb
2450
+ - spec/mongo/session_spec.rb
2451
+ - spec/mongo/crypt/auto_decryption_context_spec.rb
2452
+ - spec/mongo/crypt/explicit_decryption_context_spec.rb
2453
+ - spec/mongo/crypt/explicit_encryption_context_spec.rb
2454
+ - spec/mongo/crypt/binding_unloaded_spec.rb
2455
+ - spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb
2456
+ - spec/mongo/crypt/data_key_context_spec.rb
2457
+ - spec/mongo/crypt/auto_encryption_context_spec.rb
2458
+ - spec/mongo/crypt/auto_encrypter_spec.rb
2459
+ - spec/mongo/crypt/binary_spec.rb
2460
+ - spec/mongo/crypt/status_spec.rb
2461
+ - spec/mongo/crypt/binding/version_spec.rb
2462
+ - spec/mongo/crypt/binding/context_spec.rb
2463
+ - spec/mongo/crypt/binding/helpers_spec.rb
2464
+ - spec/mongo/crypt/binding/binary_spec.rb
2465
+ - spec/mongo/crypt/binding/status_spec.rb
2466
+ - spec/mongo/crypt/binding/mongocrypt_spec.rb
2467
+ - spec/mongo/crypt/encryption_io_spec.rb
2468
+ - spec/mongo/crypt/handle_spec.rb
2469
+ - spec/mongo/error/crypt_error_spec.rb
2470
+ - spec/mongo/error/unsupported_option_spec.rb
2471
+ - spec/mongo/error/notable_spec.rb
2472
+ - spec/mongo/error/no_server_available_spec.rb
2473
+ - spec/mongo/error/operation_failure_spec.rb
2474
+ - spec/mongo/error/operation_failure_heavy_spec.rb
2475
+ - spec/mongo/error/max_bson_size_spec.rb
2476
+ - spec/mongo/error/bulk_write_error_spec.rb
2477
+ - spec/mongo/error/parser_spec.rb
2478
+ - spec/mongo/database_spec.rb
2479
+ - spec/mongo/auth_spec.rb
2480
+ - spec/mongo/retryable_spec.rb
2481
+ - spec/mongo/bulk_write/result_spec.rb
2482
+ - spec/mongo/bulk_write/ordered_combiner_spec.rb
2483
+ - spec/mongo/bulk_write/unordered_combiner_spec.rb
2484
+ - spec/mongo/server_spec.rb
2485
+ - spec/mongo/uri_spec.rb
2486
+ - spec/mongo/distinguishing_semaphore_spec.rb
2487
+ - spec/mongo/socket_spec.rb
2488
+ - spec/mongo/event/subscriber_spec.rb
2489
+ - spec/mongo/event/publisher_spec.rb
2490
+ - spec/mongo/grid/file/chunk_spec.rb
2491
+ - spec/mongo/grid/file/info_spec.rb
2492
+ - spec/mongo/grid/fs_bucket_spec.rb
2493
+ - spec/mongo/grid/stream/write_spec.rb
2494
+ - spec/mongo/grid/stream/read_spec.rb
2495
+ - spec/mongo/grid/file_spec.rb
2496
+ - spec/mongo/grid/stream_spec.rb
2497
+ - spec/mongo/logger_spec.rb
2498
+ - spec/mongo/address_spec.rb
2499
+ - spec/mongo/collection/view/immutable_spec.rb
2500
+ - spec/mongo/collection/view/change_stream_spec.rb
2501
+ - spec/mongo/collection/view/aggregation_spec.rb
2502
+ - spec/mongo/collection/view/builder/find_command_spec.rb
2503
+ - spec/mongo/collection/view/builder/modifiers_spec.rb
2504
+ - spec/mongo/collection/view/builder/flags_spec.rb
2505
+ - spec/mongo/collection/view/builder/op_query_spec.rb
2506
+ - spec/mongo/collection/view/readable_spec.rb
2507
+ - spec/mongo/collection/view/writable_spec.rb
2508
+ - spec/mongo/collection/view/change_stream_resume_spec.rb
2509
+ - spec/mongo/collection/view/map_reduce_spec.rb
2510
+ - spec/mongo/collection/view/explainable_spec.rb
2511
+ - spec/mongo/collection/view/iterable_spec.rb
2512
+ - spec/mongo/collection/view_spec.rb
2513
+ - spec/mongo/client_spec.rb
2514
+ - spec/mongo/cluster_spec.rb
2515
+ - spec/mongo/timeout_spec.rb
2516
+ - spec/mongo/bson_spec.rb
2517
+ - spec/mongo/srv/result_spec.rb
2518
+ - spec/mongo/srv/monitor_spec.rb
2519
+ - spec/mongo/session_transaction_spec.rb
2520
+ - spec/mongo/monitoring_spec.rb
2521
+ - spec/mongo/lint_spec.rb
2522
+ - spec/mongo/semaphore_spec.rb
2523
+ - spec/mongo/server_selector_spec.rb
2524
+ - spec/mongo/cursor_spec.rb
2525
+ - spec/mongo/uri_option_parsing_spec.rb
2526
+ - spec/mongo/auth/scram/conversation_spec.rb
2527
+ - spec/mongo/auth/x509_spec.rb
2528
+ - spec/mongo/auth/user_spec.rb
2529
+ - spec/mongo/auth/x509/conversation_spec.rb
2530
+ - spec/mongo/auth/scram256/conversation_spec.rb
2531
+ - spec/mongo/auth/scram_negotiation_spec.rb
2532
+ - spec/mongo/auth/scram_spec.rb
2533
+ - spec/mongo/auth/stringprep_spec.rb
2534
+ - spec/mongo/auth/aws/request_spec.rb
2535
+ - spec/mongo/auth/ldap/conversation_spec.rb
2536
+ - spec/mongo/auth/gssapi/conversation_spec.rb
2537
+ - spec/mongo/auth/cr_spec.rb
2538
+ - spec/mongo/auth/user/view_spec.rb
2539
+ - spec/mongo/auth/ldap_spec.rb
2540
+ - spec/mongo/auth/invalid_mechanism_spec.rb
2541
+ - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
2542
+ - spec/mongo/cluster_time_spec.rb