adjust wait times so that test can happen before timed out

This commit is contained in:
JacobBarthelmeh 2023-07-26 16:14:24 -07:00
parent b16e7fd87b
commit daa54f3d31

View File

@ -41442,7 +41442,7 @@ static void test_wolfSSL_SESSION_expire_downgrade_ctx_ready(WOLFSSL_CTX* ctx)
/* set the session to timeout in a second */
static void test_wolfSSL_SESSION_expire_downgrade_ssl_ready(WOLFSSL* ssl)
{
AssertIntEQ(wolfSSL_set_timeout(ssl, 1), 1);
AssertIntEQ(wolfSSL_set_timeout(ssl, 2), 1);
}
@ -41460,7 +41460,7 @@ static void test_wolfSSL_SESSION_expire_downgrade_ssl_ready_wait(WOLFSSL* ssl)
AssertIntEQ(wolfSSL_set_timeout(ssl, 1), 1);
AssertIntEQ(wolfSSL_set_session(ssl, test_wolfSSL_SESSION_expire_sess),
WOLFSSL_SUCCESS);
XSLEEP_MS(1200); /* wait a second for session to expire */
XSLEEP_MS(2000); /* wait 2 seconds for session to expire */
}