[CRIU] [PATCH v2] test: add variable delta for poll.c test
Cyrill Gorcunov
gorcunov at gmail.com
Mon Jan 9 04:34:42 PST 2017
On Mon, Jan 09, 2017 at 03:26:46PM +0300, Vitaly Ostrosablin wrote:
> For ZDTM purposes, poll.c uses delta of 5 seconds, which is fine, since
> tests don't take a very long time to pass. However, in vzt-cpt, we start
> a batch with multitude of tests and starting them all could take over an
> hour. Hence, the test is bound to fail. An easy solution would be to
> introduce an environment variable, which would allow to specify the
> delta - ZDTM_DELTA. If it's unset (which is default behaviour in ZDTM) -
> it would default to 5 seconds. However, if it's set (what we can do from
> vzt-cpt) - then it will use delta which is set by our test.
>
> Signed-off-by: Vitaly Ostrosablin <vostrosablin at virtuozzo.com>
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list