diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-04-28 17:45:40 +0300 |
---|---|---|
committer | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-04-30 13:23:03 +0300 |
commit | 32e69e4eced5c127e0fa5c7e4277a564d629e3bf (patch) | |
tree | a58f1f5631220508dd3c160ce32782c5e83ca4bd /tests | |
parent | 95036b8503c50ad4c3c97dd9ac747b2eaa79b5b5 (diff) | |
download | gnutls-32e69e4eced5c127e0fa5c7e4277a564d629e3bf.tar.gz |
tests/srp: increase timeouts
SRP test times out if running on the GitLab CI with mini-gmp version of
Nettle. Increase timeouts to let the test pass.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/srp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/srp.c b/tests/srp.c index e659f22163..c927e877be 100644 --- a/tests/srp.c +++ b/tests/srp.c @@ -131,7 +131,7 @@ static void client(int fd, const char *prio, const char *user, const char *pass, /* Use default priorities */ assert(gnutls_priority_set_direct(session, prio, NULL)>=0); - gnutls_handshake_set_timeout(session, 40 * 1000); + gnutls_handshake_set_timeout(session, 100 * 1000); /* put the anonymous credentials to the current session */ @@ -229,7 +229,7 @@ static void server(int fd, const char *prio) s_x509_cred); gnutls_transport_set_int(session, fd); - gnutls_handshake_set_timeout(session, 40 * 1000); + gnutls_handshake_set_timeout(session, 100 * 1000); do { ret = gnutls_handshake(session); |