Merge pull request #11912 from qzhuyan/test/william/quic-multistream-flaky

test(quic): fix flaky
This commit is contained in:
William Yang 2023-11-10 11:13:35 +01:00 committed by GitHub
commit 0fc4bcaf0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -674,7 +674,16 @@ t_multi_streams_packet_malform(Config) ->
?assert(is_list(emqtt:info(C))),
{error, stm_send_error, aborted} = quicer:send(MalformStream, <<1, 2, 3, 4, 5, 6, 7, 8, 9, 0>>),
{error, stm_send_error, _} =
snabbkaffe:retry(
10000,
10,
fun() ->
{error, stm_send_error, _} = quicer:send(
MalformStream, <<1, 2, 3, 4, 5, 6, 7, 8, 9, 0>>
)
end
),
?assert(is_list(emqtt:info(C))),