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 <carlos@redhat.com>

	* nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
This commit is contained in:
Szabolcs Nagy 2018-10-09 15:00:39 +01:00
parent ed643089cd
commit 97785a61af
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -327,5 +327,6 @@ do_test (void)
return 0;
}
#define TIMEOUT 40
#define PREPARE prepare
#include <support/test-driver.c>