Sha256: 1c6f58e7099b6fcf7f4d9189740c9d43f08696922c11bbb6025f3219c0fe1626
Contents?: true
Size: 433 Bytes
Versions: 7
Compression:
Stored size: 433 Bytes
Contents
require "spec_helper" describe "Rapidly opening and closing lots of channels" do let(:connection) do c = Bunny.new(:user => "bunny_gem", :password => "bunny_password", :vhost => "bunny_testbed") c.start c end after :all do connection.close end it "works correctly" do xs = Array.new(2000) { connection.create_channel } xs.size.should == 2000 xs.each do |ch| ch.close end end end
Version data entries
7 entries across 7 versions & 1 rubygems