Skip to content

Commit

Permalink
Fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ansd committed Dec 10, 2024
1 parent 7c58d23 commit 8001363
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deps/rabbit/test/amqp_client_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -6156,7 +6156,6 @@ count_received_messages0(Receiver, Count) ->
Count
end.

<<<<<<< HEAD
send_messages(Sender, Left, Settled) ->
send_messages(Sender, Left, Settled, <<>>).

Expand All @@ -6181,7 +6180,8 @@ send_messages(Sender, Left, Settled, BodySuffix) ->
%% So, we must be defensive here and assume that the next amqp10_client:send/2 call might return {error, insufficient_credit}
%% again causing us then to really wait to receive a credited event (instead of just processing an old credited event).
send_messages(Sender, Left, Settled, BodySuffix)
=======
end.

send_until_remote_incoming_window_exceeded(Session, Address) ->
{ok, Sender} = amqp10_client:attach_sender_link(Session, <<"sender">>, Address, settled),
ok = wait_for_credit(Sender),
Expand All @@ -6202,7 +6202,6 @@ send_until_remote_incoming_window_exceeded0(Sender, Left) ->
{error, remote_incoming_window_exceeded = Reason} ->
ct:pal("~s: ~b messages left", [Reason, Left]),
ok
>>>>>>> 0d34ef604 (Set a floor of zero for incoming-window)
end.

assert_link_credit_runs_out(_Sender, 0) ->
Expand Down

0 comments on commit 8001363

Please sign in to comment.