[LTP] [PATCH 1/3] fsx-linux: Add .max_runtime = 60

Petr Vorel pvorel@suse.cz
Fri Dec 15 19:31:19 CET 2023


From: Petr Vorel <petr.vorel@gmail.com>

fsx-linux has entry in the runtest file, where it runs quite long via
-N 100000 (number of operations). While this is ok on normal worker
(runs ~20s), it timeouts on slightly overbooked SUT.

On heavily overbooked SUT it will still require LTP_TIMEOUT_MUL or
LTP_RUNTIME_MUL, but that's expected.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/fs/fsx-linux/fsx-linux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/fs/fsx-linux/fsx-linux.c b/testcases/kernel/fs/fsx-linux/fsx-linux.c
index 658fc99c3..32fc70e01 100644
--- a/testcases/kernel/fs/fsx-linux/fsx-linux.c
+++ b/testcases/kernel/fs/fsx-linux/fsx-linux.c
@@ -367,6 +367,7 @@ static struct tst_test test = {
 	.setup = setup,
 	.cleanup = cleanup,
 	.test_all = run,
+	.max_runtime = 60,
 	.options = (struct tst_option[]) {
 		{ "l:", &str_file_max_size, "Maximum size in MB of the test file(s) (default 262144)" },
 		{ "o:", &str_op_max_size, "Maximum size for single operation (default 65536)" },
-- 
2.43.0



More information about the ltp mailing list