[CRIU] [PATCH] zdtm:Makefile increase wait timeout
Andrew Vagin
avagin at parallels.com
Thu Oct 23 03:53:01 PDT 2014
On Thu, Oct 23, 2014 at 12:07:09PM +0400, Konstantin Neumoin wrote:
> This timeout is too small for tcp test cases.
> This timeout should be bigger than TCP_RTO_MAX 120 seconds
>
Acked-by: Andrew Vagin <avagin at parallels.com>
> Signed-off-by: Konstantin Neumoin <kneumoin at parallels.com>
> ---
> test/zdtm/live/static/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
> index e9cac39..986a918 100644
> --- a/test/zdtm/live/static/Makefile
> +++ b/test/zdtm/live/static/Makefile
> @@ -256,9 +256,9 @@ check_start: $(PID:%.pid=%.is_running)
> stop: $(STATE_OUT)
> -kill -TERM `cat *.pid`
>
> -WAIT_TIME=10
> +WAIT_TIME=240
> wait_stop:
> - -for ((i = 0; i < $(WAIT_TIME); i++)); do \
> + for ((i = 0; i < $(WAIT_TIME); i++)); do \
> kill -0 `cat *.pid 2>/dev/null` 2>/dev/null || break; \
> sleep 1; \
> done
> --
> 1.7.11.7
>
More information about the CRIU
mailing list