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:51:28 +0000 (08:51 +0100)
commit1848c561ec39a9ea91ff1bf740a554be274f98b0
tree89f165f7b2867f8e014dd785e21b4a0f05f90912
parentafb6ce0d0f5b8e88f8b4f420aba0a8e59f58934f
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)
test/build.info
test/sslapitest.c