[LTP] [PATCH 1/1] fanotify22: Lower the timeout

Petr Vorel pvorel@suse.cz
Wed Feb 2 15:26:23 CET 2022


kernel v5.17-rc1 has a regression which block until the timeout.
Thus lower the timeout to 10s (runtime on laptop < 1s, on VM with 2
cores < 2s).

Suggested-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/syscalls/fanotify/fanotify22.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/syscalls/fanotify/fanotify22.c b/testcases/kernel/syscalls/fanotify/fanotify22.c
index bd82fbf63d..5173efcbc0 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify22.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify22.c
@@ -305,6 +305,7 @@ static struct tst_test test = {
 		{"linux-git", "124e7c61deb2"},
 		{}
 	},
+	.timeout = 10,
 	.needs_cmds = (const char *[]) {
 		"debugfs",
 		NULL
-- 
2.34.1



More information about the ltp mailing list