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 <ifranzki@linux.ibm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26693)
(cherry picked from commit
0e93f64723894e6420faa8b95055ce637894abc1)
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)))