From: Hugo Landau Date: Thu, 6 Jul 2023 14:23:05 +0000 (+0100) Subject: QUIC: Fix multistream script 19 stochastic test failure X-Git-Tag: openssl-3.2.0-alpha1~491 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76696a5413db0a93e374f9f0f55e5694f93ecc0e;p=thirdparty%2Fopenssl.git QUIC: Fix multistream script 19 stochastic test failure Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/21379) --- diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index 7091266c115..5aefd719fcf 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -1943,7 +1943,6 @@ static const struct script_op script_18[] = { * 1 packet above, which is absurd; thus this ensures we only actually * generate TXKUs when we are allowed to. */ - OP_CHECK (check_key_update_ge, 4) OP_CHECK (check_key_update_lt, 240) /* @@ -1969,6 +1968,12 @@ static const struct script_op script_19[] = { OP_S_BIND_STREAM_ID (a, C_BIDI_ID(0)) OP_S_READ_EXPECT (a, "apple", 5) + OP_C_WRITE (DEFAULT, "orange", 6) + OP_S_READ_EXPECT (a, "orange", 6) + + OP_S_WRITE (a, "strawberry", 10) + OP_C_READ_EXPECT (DEFAULT, "strawberry", 10) + OP_CHECK (check_key_update_lt, 1) OP_CHECK (trigger_key_update, 0)