This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Increase timeout of tst-getaddrinfo4


Hi,

tst-getaddrinfo4 makes 8 DNS queries, which may take longer than the
default 3 seconds on a slow network (like my ISP).  The following
patch increases the timeout to 10 seconds.  Maybe we ought to move
this test to xtests, lest it cause spurious failures due to a
hanging/unresponsive DNS server.

Siddhesh

	* posix/tst-getaddrinfo4.c: Increase test timeout.

diff --git a/posix/tst-getaddrinfo4.c b/posix/tst-getaddrinfo4.c
index 10850cd..464cfb2 100644
--- a/posix/tst-getaddrinfo4.c
+++ b/posix/tst-getaddrinfo4.c
@@ -64,4 +64,5 @@ do_test (void)
 }
 
 #define TEST_FUNCTION do_test ()
+#define TIMEOUT 10
 #include "../test-skeleton.c"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]