From 3f7032fbe9d882725475eff34962ba4781390ad2 Mon Sep 17 00:00:00 2001 From: William Yang Date: Wed, 15 Feb 2023 16:22:41 +0100 Subject: [PATCH] chore(quic): troubleshooting large payload --- apps/emqx/test/emqx_quic_multistreams_SUITE.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/emqx/test/emqx_quic_multistreams_SUITE.erl b/apps/emqx/test/emqx_quic_multistreams_SUITE.erl index 2e11e4e7f..52eb679b9 100644 --- a/apps/emqx/test/emqx_quic_multistreams_SUITE.erl +++ b/apps/emqx/test/emqx_quic_multistreams_SUITE.erl @@ -527,7 +527,11 @@ t_multi_streams_packet_boundary(Config) -> [{qos, PubQos}], undefined ), - LargePart3 = binary:copy(atom_to_binary(?FUNCTION_NAME), 20000), + ThisFunB = atom_to_binary(?FUNCTION_NAME), + LargePart3 = iolist_to_binary([ + <> + || N <- lists:seq(1, 20000) + ]), ok = emqtt:publish_async( C, PubVia,