From: Randall S. Becker Date: Mon, 20 May 2024 22:23:04 +0000 (+0000) Subject: Added an explicit yield (OP_SLEEP) to QUIC testing for cooperative threading. X-Git-Tag: openssl-3.3.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f84622c7e7f83a9bba30b25898182090801e752d;p=thirdparty%2Fopenssl.git Added an explicit yield (OP_SLEEP) to QUIC testing for cooperative threading. Fixes: #24442 Signed-off-by: Randall S. Becker Reviewed-by: Matt Caswell Reviewed-by: Neil Horman Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/24443) (cherry picked from commit b9e084f139c53ce133e66aba2f523c680141c0e6) --- diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index 2d1087266e6..fb2daac879d 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -2376,6 +2376,7 @@ static const struct script_op script_10[] = { static const struct script_op script_11_child[] = { OP_C_ACCEPT_STREAM_WAIT (a) OP_C_READ_EXPECT (a, "foo", 3) + OP_SLEEP (10) OP_C_EXPECT_FIN (a) OP_END