[LTP] [PATCH 10/10] sendfile09: Add max_runtime
Jan Stancek
jstancek@redhat.com
Wed Aug 31 14:59:03 CEST 2022
On Tue, Aug 30, 2022 at 3:51 PM Martin Doucha <mdoucha@suse.cz> wrote:
>
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
> ---
> testcases/kernel/syscalls/sendfile/sendfile09.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/testcases/kernel/syscalls/sendfile/sendfile09.c b/testcases/kernel/syscalls/sendfile/sendfile09.c
> index 320649dcd..353ef07d0 100644
> --- a/testcases/kernel/syscalls/sendfile/sendfile09.c
> +++ b/testcases/kernel/syscalls/sendfile/sendfile09.c
> @@ -97,6 +97,7 @@ static struct tst_test test = {
> .test = run,
> .tcnt = ARRAY_SIZE(tc),
> .min_kver = "2.6.33",
> + .max_runtime = 20,
I already saw reports of this timing out with 60 second timeout on
bare metal, so I'd go with higher value:
tst_test.c:1526: TINFO: Timeout per run is 0h 01m 00s
Test timeouted, sending SIGKILL!
tst_test.c:1577: TINFO: If you are running on slow machine, try
exporting LTP_TIMEOUT_MUL > 1
tst_test.c:1579: TBROK: Test killed! (timeout?)
> .tags = (const struct tst_tag[]) {
> {"linux-git", "5d73320a96fcc"},
> {}
> --
> 2.37.2
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
More information about the ltp
mailing list