[LTP] [PATCH] syscalls/fsync02: restore runtime to 5m

Jan Stancek jstancek@redhat.com
Wed Jul 20 12:43:18 CEST 2022


Test allows up to 240 seconds for PASS result (depending if its VM or not),
but on slower systems library now kills it after a minute. Restore
runtime to 5 minutes.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
 testcases/kernel/syscalls/fsync/fsync02.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/fsync/fsync02.c b/testcases/kernel/syscalls/fsync/fsync02.c
index e13ba89f1b63..55c7a71c1d65 100644
--- a/testcases/kernel/syscalls/fsync/fsync02.c
+++ b/testcases/kernel/syscalls/fsync/fsync02.c
@@ -114,5 +114,6 @@ static struct tst_test test = {
 	.test_all = run,
 	.setup = setup,
 	.cleanup = cleanup,
-	.needs_tmpdir = 1
+	.needs_tmpdir = 1,
+	.max_runtime = 300,
 };
-- 
2.27.0



More information about the ltp mailing list