From 3e7f5a128b52079f5f95be5372a36f11d4a529d8 Mon Sep 17 00:00:00 2001 From: Ingo Franzki Date: Mon, 10 Feb 2025 15:45:26 +0100 Subject: [PATCH] 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) --- test/quicapitest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/quicapitest.c b/test/quicapitest.c index 9a678c4a035..31b586bd5ba 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))) -- 2.47.2