Sha256: 8710e3103354481d26198f4e8f4ec332890d3337caa43a8cb7f5621c9b298cee

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

describe 'Retryable reads spec tests' do
  require_wired_tiger
  require_no_multi_shard

  define_crud_spec_tests(RETRYABLE_READS_TESTS) do |spec, req, test|
    let(:client) do
      root_authorized_client.with({max_read_retries: 0}.update(test.client_options)).tap do |client|
        client.subscribe(Mongo::Monitoring::COMMAND, event_subscriber)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongo-2.10.2 spec/spec_tests/retryable_reads_spec.rb
mongo-2.11.0.rc0 spec/spec_tests/retryable_reads_spec.rb
mongo-2.10.1 spec/spec_tests/retryable_reads_spec.rb
mongo-2.10.0 spec/spec_tests/retryable_reads_spec.rb
mongo-2.10.0.rc0 spec/spec_tests/retryable_reads_spec.rb