Skip to content

Commit 6c33d6d

Browse files
committed
Tests: wait until stats are published, not just collected on the agent
1 parent 4c57a42 commit 6c33d6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/rabbitmq_management/test/clustering_SUITE.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ consumers(Config) ->
519519
consume(Chan2, <<"some-queue">>),
520520

521521
force_stats(Config),
522+
?awaitMatch([_, _|_], http_get(Config, "/consumers"), 60000),
523+
522524
Res = http_get(Config, "/consumers"),
523525

524526
% assert there are two non-empty consumer records

0 commit comments

Comments
 (0)