aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-10-09 15:00:39 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2018-10-09 15:57:01 +0100
commit97785a61afbb47221e5ec799a57f210ceab85cce (patch)
treef1a8cc030bbb72976a3a0f282d27c7ed2344d437
parented643089cd3251038863d32e67ec47b94cd557f3 (diff)
downloadtermbaud-master.tar.gz
termbaud-master.tar.xz
termbaud-master.zip
Increase timeout of nss/tst-nss-files-hosts-multiHEADmaster
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 <carlos@redhat.com> * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
-rw-r--r--ChangeLog4
-rw-r--r--nss/tst-nss-files-hosts-multi.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b19d0e147e..ec87f3b0096 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
+ * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
+
+2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
* libio/tst-readline.c (TIMEOUT): Define.
2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
diff --git a/nss/tst-nss-files-hosts-multi.c b/nss/tst-nss-files-hosts-multi.c
index a4edb3c0365..21f678d93f0 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 <support/test-driver.c>