Skip to content

Commit b8a4bda

Browse files
kjnilssonmergify[bot]
authored andcommitted
fix pattern match
(cherry picked from commit 46e8f9a) (cherry picked from commit e148941)
1 parent b49dcf2 commit b8a4bda

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deps/rabbit/src/rabbit_fifo_dlx_worker.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ handle_call(Request, From, State) ->
135135
rabbit_log:info("~s received unhandled call from ~p: ~p", [?MODULE, From, Request]),
136136
{noreply, State}.
137137

138-
handle_cast({dlx_event, _LeaderPid, {machine, lookup_topology}},
138+
handle_cast({dlx_event, _LeaderPid, lookup_topology},
139139
#state{queue_ref = _} = State0) ->
140140
State = lookup_topology(State0),
141141
redeliver_and_ack(State);

deps/rabbit/test/rabbit_fifo_dlx_integration_SUITE.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,8 @@ reject_publish(Config, QArg) when is_tuple(QArg) ->
587587
ok = publish_confirm(Ch, SourceQ),
588588
RaName = ra_name(SourceQ),
589589
eventually(?_assertMatch([{2, 2}], %% 2 messages with 1 byte each
590-
dirty_query([Server], RaName, fun rabbit_fifo:query_stat_dlx/1))),
590+
dirty_query([Server], RaName,
591+
fun rabbit_fifo:query_stat_dlx/1))),
591592
%% Now, we have 2 expired messages in the source quorum queue's discards queue.
592593
%% Now that we are over the limit we expect publishes to be rejected.
593594
?assertEqual(fail, publish_confirm(Ch, SourceQ)),

0 commit comments

Comments
 (0)