public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] fanotify22: Lower the timeout
@ 2022-02-02 14:26 Petr Vorel
  2022-02-02 15:54 ` Cyril Hrubis
  2022-02-02 15:58 ` Gabriel Krisman Bertazi
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Vorel @ 2022-02-02 14:26 UTC (permalink / raw)
  To: ltp; +Cc: Gabriel Krisman Bertazi, Matthew Bobrowski

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-02 16:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-02 14:26 [LTP] [PATCH 1/1] fanotify22: Lower the timeout Petr Vorel
2022-02-02 15:54 ` Cyril Hrubis
2022-02-02 15:58 ` Gabriel Krisman Bertazi
2022-02-02 16:58   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox