Skip to content

Commit

Permalink
system_SUITE: wait for messages to be queued
Browse files Browse the repository at this point in the history
Somehow the CQ changes made one of the test in this suite
fail with the wrong message count. This is in essence a
followup to d5e81c9 which
already added a timeout to other tests in the suite.
  • Loading branch information
lhoguin committed Sep 27, 2022
1 parent c86254a commit ef25732
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/rabbitmq_recent_history_exchange/test/system_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ e2e_test(Config) ->
routing_key = <<"">>
}),

%% Wait a few seconds for all messages to be queued.
timer:sleep(3000),

#'queue.declare_ok'{message_count = Count, queue = Q} =
amqp_channel:call(Chan, #'queue.declare' {
passive = true,
Expand Down

0 comments on commit ef25732

Please sign in to comment.