From b9e084f139c53ce133e66aba2f523c680141c0e6 Mon Sep 17 00:00:00 2001 From: "Randall S. Becker" Date: Mon, 20 May 2024 22:23:04 +0000 Subject: [PATCH] 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) --- test/quic_multistream_test.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2