Skip to content

Commit daa54f3

Browse files
adjust wait times so that test can happen before timed out
1 parent b16e7fd commit daa54f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41442,7 +41442,7 @@ static void test_wolfSSL_SESSION_expire_downgrade_ctx_ready(WOLFSSL_CTX* ctx)
4144241442
/* set the session to timeout in a second */
4144341443
static void test_wolfSSL_SESSION_expire_downgrade_ssl_ready(WOLFSSL* ssl)
4144441444
{
41445-
AssertIntEQ(wolfSSL_set_timeout(ssl, 1), 1);
41445+
AssertIntEQ(wolfSSL_set_timeout(ssl, 2), 1);
4144641446
}
4144741447

4144841448

@@ -41460,7 +41460,7 @@ static void test_wolfSSL_SESSION_expire_downgrade_ssl_ready_wait(WOLFSSL* ssl)
4146041460
AssertIntEQ(wolfSSL_set_timeout(ssl, 1), 1);
4146141461
AssertIntEQ(wolfSSL_set_session(ssl, test_wolfSSL_SESSION_expire_sess),
4146241462
WOLFSSL_SUCCESS);
41463-
XSLEEP_MS(1200); /* wait a second for session to expire */
41463+
XSLEEP_MS(2000); /* wait 2 seconds for session to expire */
4146441464
}
4146541465

4146641466

0 commit comments

Comments
 (0)