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>
  • Loading branch information
rsbeckerca committed May 20, 2024
1 parent 6594baf commit b5795e3
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 @@ -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
Expand Down

0 comments on commit b5795e3

Please sign in to comment.