Sha256: f40ca840678c8111b3b8103b84d2f5ad92c6dc5d46766dde95f575ccbf4ed301

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

require "spec_helper"

unless RUBY_ENGINE == "jruby"
  describe Bunny::Session do
    4000.times do |i|
      it "can be closed (take #{i})" do
        c  = Bunny.new(:automatically_recover => false)
        c.start
        ch = c.create_channel

        c.should be_connected
        c.stop
        c.should be_closed
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bunny-0.10.0 spec/stress/connection_open_close_spec.rb
bunny-1.0.0.pre3 spec/stress/connection_open_close_spec.rb
bunny-0.9.8 spec/stress/connection_open_close_spec.rb
bunny-1.0.0.pre2 spec/stress/connection_open_close_spec.rb
bunny-0.9.7 spec/stress/connection_open_close_spec.rb