Skip to content

Commit f404ca2

Browse files
Retain the original "await event propagation" interval
1 parent 951431a commit f404ca2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/integration/api_endpoints_spec.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
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.
29-
sleep 5
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.
31+
sleep 1
3032
end
3133

3234
#

0 commit comments

Comments
 (0)