We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0ff72 commit 2cd21eeCopy full SHA for 2cd21ee
test/unit_inbroker_parallel_SUITE.erl
@@ -1320,16 +1320,18 @@ assert_channel_fail_max_size(Ch, Monitor, ExpectedException) ->
1320
1321
max_message_size(Config) ->
1322
Binary128M = gen_binary_mb(128),
1323
- {_, Ch} = rabbit_ct_client_helpers:open_connection_and_channel(Config, 0),
+
1324
%% Default message size is 128MB
1325
Size128Mb = 1024 * 1024 * 128,
1326
+ Size128Mb = byte_size(Binary128M),
1327
1328
Size128Mb = rabbit_ct_broker_helpers:rpc(Config, 0,
1329
application, get_env, [rabbit, max_message_size, undefined]),
1330
+ {_, Ch} = rabbit_ct_client_helpers:open_connection_and_channel(Config, 0),
1331
- Size128Mb = byte_size(Binary128M),
1332
%% Binary is whithin the max size limit
1333
amqp_channel:call(Ch, #'basic.publish'{routing_key = <<"nope">>}, #amqp_msg{payload = Binary128M}),
- %% Channel process is alive
1334
+ %% The channel process is alive
1335
assert_channel_alive(Ch),
1336
1337
Monitor = monitor(process, Ch),
0 commit comments