Sha256: 561dde31db147db4f0465f403e301e8650418ed7b926ed8be0ec42f4979612a3

Contents?: true

Size: 407 Bytes

Versions: 8

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true
# rubocop:todo all

require 'mongo'
require 'lite_spec_helper'

describe 'Clean exit' do
  require_external_connectivity
  require_solo

  context 'with SRV URI' do

    let(:uri) do
      'mongodb+srv://test1.test.build.10gen.cc/?tls=false'
    end

    it 'exits cleanly' do
      client = Mongo::Client.new(uri)
      client.database.collection_names.to_a
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mongo-2.20.1 spec/solo/clean_exit_spec.rb
mogno-2.20.0 spec/solo/clean_exit_spec.rb
mogno-1.0.0 spec/solo/clean_exit_spec.rb
mongo-2.20.0 spec/solo/clean_exit_spec.rb
mongo-2.19.3 spec/solo/clean_exit_spec.rb
mongo-2.19.2 spec/solo/clean_exit_spec.rb
mongo-2.19.1 spec/solo/clean_exit_spec.rb
mongo-2.19.0 spec/solo/clean_exit_spec.rb