summaryrefslogtreecommitdiff
path: root/tests/dtls
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-18 11:45:42 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-18 11:45:54 +0100
commitcaced51103979204a5eb8cafd1a4134f01fd6dd1 (patch)
tree8db5eec7aea7e8563c41267bdc128baab7ff5dc3 /tests/dtls
parentc59b167728b083744eb418022bfff4f34401002c (diff)
downloadgnutls-caced51103979204a5eb8cafd1a4134f01fd6dd1.tar.gz
increase the total timeout in the tests since they seem to exceed the default DTLS maximum timeout.
Diffstat (limited to 'tests/dtls')
-rw-r--r--tests/dtls/dtls-stress.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/dtls/dtls-stress.c b/tests/dtls/dtls-stress.c
index d372b53003..b7be2315e2 100644
--- a/tests/dtls/dtls-stress.c
+++ b/tests/dtls/dtls-stress.c
@@ -393,7 +393,10 @@ gnutls_session_t session(int sock, int server)
gnutls_transport_set_push_function(r, writefn);
gnutls_dtls_set_mtu(r, 1400);
- gnutls_dtls_set_timeouts(r, 1000, 60000);
+
+ /* The cases tested here might exceed the normal DTLS
+ * timers */
+ gnutls_dtls_set_timeouts(r, 1000, 120000);
return r;
}