From 97785a61afbb47221e5ec799a57f210ceab85cce Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 9 Oct 2018 15:00:39 +0100 Subject: [PATCH] Increase timeout of nss/tst-nss-files-hosts-multi Increase timeout from the default 20s to 40s. This test makes close to 2 million syscalls with distribution: 1180249 connect 297952 getsockname 144040 lseek 143734 read 14466 close ... connect can be slow, so the default timeout was not enough on slow systems. Reviewed-by: Carlos O'Donell * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define. --- ChangeLog | 4 ++++ nss/tst-nss-files-hosts-multi.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2b19d0e147..ec87f3b009 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2018-10-09 Szabolcs Nagy + * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define. + +2018-10-09 Szabolcs Nagy + * libio/tst-readline.c (TIMEOUT): Define. 2018-10-08 Paul Eggert diff --git a/nss/tst-nss-files-hosts-multi.c b/nss/tst-nss-files-hosts-multi.c index a4edb3c036..21f678d93f 100644 --- a/nss/tst-nss-files-hosts-multi.c +++ b/nss/tst-nss-files-hosts-multi.c @@ -327,5 +327,6 @@ do_test (void) return 0; } +#define TIMEOUT 40 #define PREPARE prepare #include -- 2.11.4.GIT