From: Ondřej Surý Date: Fri, 27 Oct 2023 09:44:02 +0000 (+0200) Subject: Bump the timeouts in the dispatch_test X-Git-Tag: v9.19.18~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa393b9e57bbe6f0c22dd21c71f50191bef3d089;p=thirdparty%2Fbind9.git 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. --- diff --git a/tests/dns/dispatch_test.c b/tests/dns/dispatch_test.c index cb1f023d35d..470c1672869 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;