Skip to content

Commit

Permalink
These flaky tests do not test channel recovery
Browse files Browse the repository at this point in the history
or rather, they do but not beyond what's already
tested elsewhere.
  • Loading branch information
michaelklishin committed Feb 22, 2025
1 parent 0eea277 commit 473482e
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions spec/higher_level_api/integration/connection_recovery_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,6 @@
end
end

it "recovers channels (with multiple hosts)" do
with_open_multi_host do |c|
ch1 = c.create_channel
ch2 = c.create_channel
sleep 1.5
close_all_connections!
sleep 0.5
poll_until { channels.count == 2 }
expect(ch1).to be_open
expect(ch2).to be_open
end
end

it "recovers channels (with multiple hosts, including a broken one)" do
with_open_multi_broken_host do |c|
ch1 = c.create_channel
ch2 = c.create_channel
sleep 1.5
close_all_connections!
sleep 0.5
poll_until { channels.count == 2 }
expect(ch1).to be_open
expect(ch2).to be_open
end
end

it "recovers basic.qos prefetch setting" do
with_open do |c|
ch = c.create_channel
Expand Down

0 comments on commit 473482e

Please sign in to comment.