Skip to content

Commit 0ca128b

Browse files
committed
Add log message to help diagnose flaky test
1 parent 6e7058e commit 0ca128b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/rabbitmq_stream/test/rabbit_stream_partitions_SUITE.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,8 @@ super_stream_sac_consumer_should_get_disconnected_on_coord_leader_network_partit
457457
%% we unqueue this frame before closing the connection
458458
%% directly closing the connection of the cancelled consumer
459459
maps:foreach(fun(K, {S0, C0}) when K /= DiscSubId ->
460-
{_, C1} = receive_commands(S0, C0),
460+
{Cmd1, C1} = receive_commands(S0, C0),
461+
ct:pal("Received command: ~p", [Cmd1]),
461462
{ok, _} = stream_test_utils:close(S0, C1);
462463
(_, {S0, C0}) ->
463464
{ok, _} = stream_test_utils:close(S0, C0)

0 commit comments

Comments
 (0)