]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix intermittent sslapitest early data related failures
authorMatt Caswell <matt@openssl.org>
Mon, 25 Mar 2024 12:32:17 +0000 (12:32 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 May 2024 10:00:46 +0000 (12:00 +0200)
commitee2b7d5264d9e5498393744e9355dc8b735ab237
tree392755e3bd6b0e96fb1a9da287075f53f4dd3e11
parent5707984505e4b05d75d3e03a21096f4569d4e6f9
Fix intermittent sslapitest early data related failures

Early data is time sensitive. We have an approx 8 second allowance between
writing the early data and reading it. If we exceed that time tests will
fail. This can sometimes (rarely) occur in normal CI operation. We can try
and detect this and just ignore the result of such test failures if the test
has taken too long. We assume anything over 7 seconds is too long.

This is a partial fix for #22605

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24320)
test/sslapitest.c