From: Ingo Franzki Date: Mon, 10 Feb 2025 14:45:26 +0000 (+0100) Subject: test/quicapitest.c: Increase timeout of test_fin_only_blocking to 40ms X-Git-Tag: openssl-3.4.2~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27fa4f3d9932964af053f24282bd68ec2df690ca;p=thirdparty%2Fopenssl.git test/quicapitest.c: Increase timeout of test_fin_only_blocking to 40ms Running this test on heavily loaded systems may cause the SSL_read_ex() to take more than 20ms, due to concurrent workload. Increase the timeout to 40ms to allow a little bit more time. Signed-off-by: Ingo Franzki Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/26693) (cherry picked from commit 0e93f64723894e6420faa8b95055ce637894abc1) --- diff --git a/test/quicapitest.c b/test/quicapitest.c index d384d17cbd1..3edea5c90b7 100644 --- a/test/quicapitest.c +++ b/test/quicapitest.c @@ -262,9 +262,9 @@ static int test_fin_only_blocking(void) if (!TEST_int_eq(SSL_get_error(clientquic, 0), SSL_ERROR_ZERO_RETURN) /* * We expect the SSL_read_ex to not have blocked so this should - * be very fast. 20ms should be plenty. + * be very fast. 40ms should be plenty. */ - || !TEST_uint64_t_le(ossl_time2ms(timediff), 20)) + || !TEST_uint64_t_le(ossl_time2ms(timediff), 40)) goto end; if (!TEST_true(qtest_shutdown(qtserv, clientquic)))