]> 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)
committerMatt Caswell <matt@openssl.org>
Wed, 1 May 2024 07:52:05 +0000 (08:52 +0100)
commit91d5fd54ee3ad87b5d3a57668e8dc9495d72bab6
tree872140ef5b6c829693a4400d8e56f1ca2de92a44
parenteb3b903af9b8de754f198a4ea5ea239f3721e3ee
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: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23966)

(cherry picked from commit 1848c561ec39a9ea91ff1bf740a554be274f98b0)
test/build.info
test/sslapitest.c