Skip to content

Commit a396533

Browse files
Merge pull request #14011 from rabbitmq/mergify/bp/v4.1.x/pr-14007
Remove AMQP backpressure test expectation (backport #14007)
2 parents 3139268 + c0eeea4 commit a396533

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

deps/rabbit/test/amqp_client_SUITE.erl

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6158,18 +6158,10 @@ tcp_back_pressure_rabbitmq_internal_flow(QType, Config) ->
61586158
?assert(MsgsReady > 0),
61596159
?assert(MsgsReady < Num),
61606160

6161-
%% Use large buffers. This will considerably speed up receiving all messages (on Linux).
6162-
ok = inet:setopts(Socket, [{recbuf, 65536},
6163-
{buffer, 65536}]),
6164-
%% When we resume the receiving client, we expect to receive all messages.
61656161
?assert(meck:validate(Mod)),
61666162
ok = meck:unload(Mod),
6167-
ok = Mod:setopts(Socket, [{active, once}]),
6168-
receive_messages(Receiver, Num),
6169-
6170-
ok = detach_link_sync(Receiver),
6171-
{ok, #{message_count := 0}} = rabbitmq_amqp_client:delete_queue(LinkPair, QName),
6172-
ok = close({Connection, Session, LinkPair}).
6163+
%% Rely on end_per_testcase/2 to delete the queue and to close the connection.
6164+
ok.
61736165

61746166
session_flow_control_default_max_frame_size(Config) ->
61756167
QName = atom_to_binary(?FUNCTION_NAME),

0 commit comments

Comments
 (0)