Skip to content

Commit

Permalink
Added an explicit yield (OP_SLEEP) to QUIC testing for cooperative th…
Browse files Browse the repository at this point in the history
…reading.

Fixes: #24442

Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from #24443)

(cherry picked from commit b9e084f)
  • Loading branch information
rsbeckerca authored and t8m committed May 22, 2024
1 parent 9e1d7cb commit 17765d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/quic_multistream_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2319,6 +2319,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
Expand Down

0 comments on commit 17765d9

Please sign in to comment.