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 <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)
This commit is contained in:
parent
e2bfb61f61
commit
0e93f64723
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue