Sha256: f54057e9db9d54c7c290e866ac00c88a5df8e280577106390295bd354528d16f
Contents?: true
Size: 655 Bytes
Versions: 9
Compression:
Stored size: 655 Bytes
Contents
# frozen_string_literal: true # rubocop:todo all require 'spec_helper' require 'runners/unified' base = "#{CURRENT_PATH}/spec_tests/data/retryable_reads" RETRYABLE_READ_UNIFIED_TESTS = Dir.glob("#{base}/unified/**/*.yml").sort describe 'Retryable reads spec tests - unified' do require_wired_tiger require_no_multi_mongos define_unified_spec_tests(base, RETRYABLE_READ_UNIFIED_TESTS) do |spec, req, test| let(:client) do authorized_client.use(spec.database_name).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
9 entries across 9 versions & 2 rubygems