]> git.ipfire.org Git - thirdparty/openssl.git/commit
QUIC MULTISTREAM TEST: Fix script 38 stochastic failure on Windows
authorHugo Landau <hlandau@openssl.org>
Tue, 31 Oct 2023 15:58:21 +0000 (15:58 +0000)
committerHugo Landau <hlandau@openssl.org>
Thu, 2 Nov 2023 08:11:31 +0000 (08:11 +0000)
commita6eb287a667ccbc241c59b23b151672e450bda4b
tree8054da1a338dba1790b573b00cb0858d7070d0ed
parentd13488b93690121bd50c97599760a19ead6bcd1f
QUIC MULTISTREAM TEST: Fix script 38 stochastic failure on Windows

The QUIC fault injector frame injection functionality injects injected
frames on whatever EL we happen to be using to generate a packet in.
This means we sometimes inject the frame into a packet type it is not
allowed to be in, causing a different error code to be generated.

Fix this by making sure the connection is fully established before
trying to generate the frame in question.

Fixes #22348.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22578)
test/quic_multistream_test.c