Skip to content

Commit 13a98bd

Browse files
Improve wording
1 parent 3149f46 commit 13a98bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

deps/rabbit/test/rabbit_fifo_SUITE.erl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,15 +1754,15 @@ single_active_consumer_priority_test(Config) ->
17541754
ModCalls = [ S || S = {mod_call, rabbit_quorum_queue, update_consumer_handler, _} <- StateMachineEvents ],
17551755
ct:log("ModCalls: ~p", [ModCalls]),
17561756

1757-
%% At the beginning, C1 should be added as single_active
1757+
%% C1 should be added as single_active
17581758
assert_update_consumer_handler_called(C1, Resource, single_active, lists:nth(1, ModCalls)),
1759-
%% C1 should transition to waiting
1759+
%% C1 should transition to waiting because ...
17601760
assert_update_consumer_handler_called(C1, Resource, waiting, lists:nth(2, ModCalls)),
1761-
%% And C2 should become single_active
1761+
%% C2 should become single_active
17621762
assert_update_consumer_handler_called(C2, Resource, single_active, lists:nth(3, ModCalls)),
1763-
%% Finally C2 should transition as waiting
1763+
%% C2 should transition as waiting because ...
17641764
assert_update_consumer_handler_called(C2, Resource, waiting, lists:nth(4, ModCalls)),
1765-
%% Because C3 is added as single_active
1765+
%% C3 is added as single_active
17661766
assert_update_consumer_handler_called(C3, Resource, single_active, lists:nth(5, ModCalls)),
17671767

17681768
ok.

0 commit comments

Comments
 (0)