Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min
@ 2024-01-25 10:00 Petr Vorel
  2024-01-25 10:05 ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2024-01-25 10:00 UTC (permalink / raw)
  To: ltp

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(-)

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,
-- 
2.43.0


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

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

* Re: [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min
  2024-01-25 10:00 [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min Petr Vorel
@ 2024-01-25 10:05 ` Cyril Hrubis
  2024-01-25 10:25   ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2024-01-25 10:05 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hi!
Shouldn't this have fixes tag for:

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

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

-- 
Cyril Hrubis
chrubis@suse.cz

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

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

* Re: [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min
  2024-01-25 10:05 ` Cyril Hrubis
@ 2024-01-25 10:25   ` Petr Vorel
  2024-01-25 10:27     ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2024-01-25 10:25 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

> 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!

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

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

* Re: [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min
  2024-01-25 10:25   ` Petr Vorel
@ 2024-01-25 10:27     ` Cyril Hrubis
  2024-01-25 10:36       ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2024-01-25 10:27 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

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.

-- 
Cyril Hrubis
chrubis@suse.cz

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

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

* Re: [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min
  2024-01-25 10:27     ` Cyril Hrubis
@ 2024-01-25 10:36       ` Petr Vorel
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2024-01-25 10:36 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

> 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

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

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

end of thread, other threads:[~2024-01-25 10:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 10:00 [LTP] [PATCH 1/1] fs_fill: Increase timeout to 5 min Petr Vorel
2024-01-25 10:05 ` Cyril Hrubis
2024-01-25 10:25   ` Petr Vorel
2024-01-25 10:27     ` Cyril Hrubis
2024-01-25 10:36       ` Petr Vorel

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