Skip to content

Commit

Permalink
Merge branch 'dcorbacho-remove-backing-queue-status-metric'
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Sep 29, 2023
2 parents 7bbcf15 + f404ca2 commit 628e4d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/integration/api_endpoints_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
# in particular starting with rabbitmq/rabbitmq-management#236,
# so in some cases we need to wait before GET'ing e.g. a newly opened connection.
def await_event_propagation
# same number as used in rabbit-hole test suite. Works OK.
# same number as used in rabbit-hole test suite. It assumes that
# the tests are run after running a before_script that will reconfigure
# RabbitMQ to use a 1s stats emission interval instead of the default 5s.
sleep 1
end

Expand Down Expand Up @@ -464,7 +466,6 @@ def await_event_propagation
expect(i.name).to eq(q.name)
expect(i.auto_delete).to eq(q.auto_delete?)
expect(i.active_consumers).to be_nil
expect(i.backing_queue_status.avg_ack_egress_rate).to eq(0.0)

subject.delete_queue("/", q.name)
end
Expand Down

0 comments on commit 628e4d9

Please sign in to comment.