spec/elastic/connections/selector_spec.rb [64:73]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        it 'allows threads to select connections in parallel' do
          expect(10.times.collect do
            threads = []
            20.times do
              threads << Thread.new do
                selector.select
              end
            end
            threads.map { |t| t.join }
            selector.select
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/elastic/connections/selector_spec.rb [110:119]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        it 'allows threads to select connections in parallel' do
          expect(10.times.collect do
            threads = []
            20.times do
              threads << Thread.new do
                selector.select
              end
            end
            threads.map { |t| t.join }
            selector.select
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



