[LTP] [PATCH] memcg_stress_test.sh: Respect LTP_TIMEOUT_MUL set by user

Li Wang liwang@redhat.com
Fri Aug 30 04:39:02 CEST 2019


On Fri, Aug 30, 2019 at 2:12 AM Petr Vorel <pvorel@suse.cz> wrote:
>
> While it's good to increase the default LTP_TIMEOUT_MUL value, give user
> a chance to change it.

It's a good proposal, but one thing we need to consider that there is
possible to pass a small timeout value(<5mins) from the user. So what
about set a condition judgment which only accepts time value which >=
7?

>  # Each test case runs for 900 secs when everything fine
>  # therefore the default 5 mins timeout is not enough.

Here the code comments reminder this.

-- 
Regards,
Li Wang


More information about the ltp mailing list