Message ID | 20221206115329.17760-1-rpalethorpe@suse.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] fs_fill: Add max_runtime = 60 | expand |
Hi Richie,
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
Merged this 1/2, thanks!
diff --git a/testcases/kernel/fs/fs_fill/fs_fill.c b/testcases/kernel/fs/fs_fill/fs_fill.c index 66b3974fc..95dfc2cb6 100644 --- a/testcases/kernel/fs/fs_fill/fs_fill.c +++ b/testcases/kernel/fs/fs_fill/fs_fill.c @@ -109,6 +109,7 @@ static void cleanup(void) } static struct tst_test test = { + .max_runtime = 60, .needs_root = 1, .mount_device = 1, .mntpoint = MNTPOINT,
Usually it takes a few seconds (3-6) to fill up the device with default settings. Which is too close to the default runtime. This sets the max_runtime to 10x that to avoid random failures caused by rare events. Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com> Cc: Petr Cervinka <pcervinka@suse.com> --- testcases/kernel/fs/fs_fill/fs_fill.c | 1 + 1 file changed, 1 insertion(+)