[LTP] [PATCH] fsync02: multiply the timediff if test in VM
Petr Vorel
pvorel@suse.cz
Tue Apr 19 07:18:08 CEST 2022
Hi Li,
> Similar to 59e73f2 ("clock_gettime04: multiply the
> timediff if test in VM"), extend tolerance for this test too.
> fsync02.c:93: TFAIL: fsync took too long: 167.000000 seconds;
> max_block: 17768; data_blocks: 2287
Make sense.
Acked-by: Petr Vorel <pvorel@suse.cz>
> + if (tst_is_virt(VIRT_ANY)) {
> + tst_res(TINFO, "Running in a VM, multiply the time_limit by 2.");
very nit: why dot at the end?
> + time_limit *= 2;
> + }
Kind regards,
Petr
More information about the ltp
mailing list