Skip to content

Commit 6ad4ad9

Browse files
kjnilssonCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 5f72a25 commit 6ad4ad9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deps/rabbit/test/rabbit_fifo_SUITE.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4934,9 +4934,9 @@ ingress_bytes_by_node_accumulates_on_enqueue_test(Config) ->
49344934
Msg = mk_mc(<<"hello">>),
49354935
Pid = self(),
49364936
Enq = make_enqueue(Pid, 1, Msg),
4937-
{S1, _, _} = apply(meta(Config, 1), Enq, S0),
4937+
{S1, _, _} = apply(meta(Config, 1, 0, {notify, 1, Pid}), Enq, S0),
49384938
Ingress = S1#rabbit_fifo.ingress_bytes_by_node,
4939-
?assert(maps:size(Ingress) > 0),
4939+
?assert(maps:get(node(Pid), Ingress, 0) > 0),
49404940
ok.
49414941

49424942
ingress_bytes_by_node_survives_snapshot_test(Config) ->

0 commit comments

Comments
 (0)