]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
dispatch_test: make client timeouts shorter
authorAram Sargsyan <aram@isc.org>
Tue, 29 Oct 2024 16:25:36 +0000 (16:25 +0000)
committerAram Sargsyan <aram@isc.org>
Wed, 22 Jan 2025 11:52:24 +0000 (11:52 +0000)
Use shorter timeouts for the client to ensure that the clients
time out before the server.

tests/dns/dispatch_test.c

index 5257df79ab78e09d106bd12fad00b0bd9c2221ca..bc0924023f582a9103b172cb94669e5053b5d0aa 100644 (file)
 #define T_SERVER_KEEPALIVE  (120 * 1000)
 #define T_SERVER_ADVERTISED (120 * 1000)
 
-#define T_CLIENT_INIT      (120 * 1000)
-#define T_CLIENT_IDLE      (120 * 1000)
-#define T_CLIENT_KEEPALIVE  (120 * 1000)
-#define T_CLIENT_ADVERTISED (120 * 1000)
+#define T_CLIENT_INIT      (60 * 1000)
+#define T_CLIENT_IDLE      (60 * 1000)
+#define T_CLIENT_KEEPALIVE  (60 * 1000)
+#define T_CLIENT_ADVERTISED (60 * 1000)
 
 #define T_CLIENT_CONNECT (30 * 1000)