mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
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.
This commit is contained in:
@@ -38,17 +38,17 @@
|
||||
#include <tests/dns.h>
|
||||
|
||||
/* 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;
|
||||
|
Reference in New Issue
Block a user