Skip to content

Commit 656f73f

Browse files
committed
tests: clustering_prop_SUITE force stats on every wait
1 parent 25bbc61 commit 656f73f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deps/rabbitmq_management/test/clustering_prop_SUITE.erl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,11 @@ prop_connection_channel_counts(Config) ->
113113
Cons = lists:foldl(fun (Op, Agg) ->
114114
execute_op(Config, Op, Agg)
115115
end, [], Ops),
116-
force_stats(Config),
117116
%% TODO retry a few times
118117
Res = retry_for(
119-
fun() -> validate_counts(Config, Cons) end,
118+
fun() ->
119+
force_stats(Config),
120+
validate_counts(Config, Cons) end,
120121
60),
121122
cleanup(Cons),
122123
rabbit_ct_helpers:await_condition(

0 commit comments

Comments
 (0)