diff mbox series

[1/1] fs_fill: Increase timeout to 5 min

Message ID 20240125100009.387096-1-pvorel@suse.cz
State Accepted
Headers show
Series [1/1] fs_fill: Increase timeout to 5 min | expand

Commit Message

Petr Vorel Jan. 25, 2024, 10 a.m. UTC
1 min timeout sometimes is not enough.
Although it could be fixed LTP_RUNTIME_MUL=2, let's prolong the default
timeout.

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

Comments

Cyril Hrubis Jan. 25, 2024, 10:05 a.m. UTC | #1
Hi!
Shouldn't this have fixes tag for:

"fs_fill: Increase test loop device size to 1GB"

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Petr Vorel Jan. 25, 2024, 10:25 a.m. UTC | #2
> Hi!
> Shouldn't this have fixes tag for:

> "fs_fill: Increase test loop device size to 1GB"

The timeout was during 300 MB, that's why I would not add it.
But I can be wrong.

I'm not sure if increasing to 1 GB makes test run slightly faster.
Maybe device size and runtime are related.

Kind regards,
Petr

> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

Thanks!
Cyril Hrubis Jan. 25, 2024, 10:27 a.m. UTC | #3
Hi!
> I'm not sure if increasing to 1 GB makes test run slightly faster.
> Maybe device size and runtime are related.

Of course it is, the test fills the whole device with data, the runtime
should really be a function of the device size.
Petr Vorel Jan. 25, 2024, 10:36 a.m. UTC | #4
> Hi!
> > I'm not sure if increasing to 1 GB makes test run slightly faster.
> > Maybe device size and runtime are related.

> Of course it is, the test fills the whole device with data, the runtime
> should really be a function of the device size.

Right, added and merged.

Kind regards,
Petr
diff mbox series

Patch

diff --git a/testcases/kernel/fs/fs_fill/fs_fill.c b/testcases/kernel/fs/fs_fill/fs_fill.c
index 325e83643..3b4ee1ae9 100644
--- a/testcases/kernel/fs/fs_fill/fs_fill.c
+++ b/testcases/kernel/fs/fs_fill/fs_fill.c
@@ -121,7 +121,7 @@  static void cleanup(void)
 }
 
 static struct tst_test test = {
-	.max_runtime = 60,
+	.max_runtime = 300,
 	.needs_root = 1,
 	.dev_min_size = 1024,
 	.mount_device = 1,