From aa393b9e57bbe6f0c22dd21c71f50191bef3d089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 27 Oct 2023 11:44:02 +0200 Subject: [PATCH] Bump the timeouts in the dispatch_test The client connection timeout was set to just one second, which might not be enough on busy systems (and the CI machines are oh-boy-busy). Bump the server timeouts to 10 seconds and client timeouts to 5 seconds, this will make the unit test run a little bit longer, but it should be more reliable. --- tests/dns/dispatch_test.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/dns/dispatch_test.c b/tests/dns/dispatch_test.c index cb1f023d35..470c167286 100644 --- a/tests/dns/dispatch_test.c +++ b/tests/dns/dispatch_test.c @@ -38,17 +38,17 @@ #include /* Timeouts in miliseconds */ -#define T_SERVER_INIT 5000 -#define T_SERVER_IDLE 5000 -#define T_SERVER_KEEPALIVE 5000 -#define T_SERVER_ADVERTISED 5000 +#define T_SERVER_INIT 10000 +#define T_SERVER_IDLE 10000 +#define T_SERVER_KEEPALIVE 10000 +#define T_SERVER_ADVERTISED 10000 -#define T_CLIENT_INIT 2000 -#define T_CLIENT_IDLE 2000 -#define T_CLIENT_KEEPALIVE 2000 -#define T_CLIENT_ADVERTISED 2000 +#define T_CLIENT_INIT 10000 +#define T_CLIENT_IDLE 10000 +#define T_CLIENT_KEEPALIVE 10000 +#define T_CLIENT_ADVERTISED 10000 -#define T_CLIENT_CONNECT 1000 +#define T_CLIENT_CONNECT 10000 /* dns_dispatchset_t *dset = NULL; */ static isc_sockaddr_t udp_server_addr;