Skip to content

Commit 628e4d9

Browse files
Merge branch 'dcorbacho-remove-backing-queue-status-metric'
2 parents 7bbcf15 + f404ca2 commit 628e4d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/integration/api_endpoints_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
# in particular starting with rabbitmq/rabbitmq-management#236,
2626
# so in some cases we need to wait before GET'ing e.g. a newly opened connection.
2727
def await_event_propagation
28-
# same number as used in rabbit-hole test suite. Works OK.
28+
# same number as used in rabbit-hole test suite. It assumes that
29+
# the tests are run after running a before_script that will reconfigure
30+
# RabbitMQ to use a 1s stats emission interval instead of the default 5s.
2931
sleep 1
3032
end
3133

@@ -464,7 +466,6 @@ def await_event_propagation
464466
expect(i.name).to eq(q.name)
465467
expect(i.auto_delete).to eq(q.auto_delete?)
466468
expect(i.active_consumers).to be_nil
467-
expect(i.backing_queue_status.avg_ack_egress_rate).to eq(0.0)
468469

469470
subject.delete_queue("/", q.name)
470471
end

0 commit comments

Comments
 (0)