]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Increase timeout of nss/tst-nss-files-hosts-multi
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 9 Oct 2018 14:00:39 +0000 (15:00 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 9 Oct 2018 14:57:01 +0000 (15:57 +0100)
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.

ChangeLog
nss/tst-nss-files-hosts-multi.c

index 2b19d0e147e3a2a96ce4584397ceee55f724018b..ec87f3b009600017633faab3064d061ceb0b50b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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.
index a4edb3c03659a8a26642d215483c6576098d0e0f..21f678d93f03ceafddeca1e878355cec5edfe9cd 100644 (file)
@@ -327,5 +327,6 @@ do_test (void)
   return 0;
 }
 
+#define TIMEOUT 40
 #define PREPARE prepare
 #include <support/test-driver.c>