Increase timeout of nss/tst-nss-files-hosts-multi
commit97785a61afbb47221e5ec799a57f210ceab85cce
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 9 Oct 2018 14:00:39 +0000 (9 15:00 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 9 Oct 2018 14:57:01 +0000 (9 15:57 +0100)
treef1a8cc030bbb72976a3a0f282d27c7ed2344d437
parented643089cd3251038863d32e67ec47b94cd557f3
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.
ChangeLog
nss/tst-nss-files-hosts-multi.c