[CRIU] [PATCH 14/14] zdtm: Don't wait too long for restore
Andrew Vagin
avagin at parallels.com
Fri Dec 21 09:20:53 EST 2012
On Thu, Dec 20, 2012 at 03:55:35PM +0400, Cyrill Gorcunov wrote:
>
> I've been noticed that we wait too much on restore if the test
> is failed. Shrink the time 5 times down.
but you shink the time more than 5 times down...
sleep 0.1
sleep 0.2
sleep 0.3
....
sleep 0.9
sleep 0.9
sleep 0.9
sleep 0.9
sleep 0.9
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> test/zdtm.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/zdtm.sh b/test/zdtm.sh
> index 169d973..9f4c663 100644
> --- a/test/zdtm.sh
> +++ b/test/zdtm.sh
> @@ -341,7 +341,7 @@ EOF
> echo Check results $PID
> stop_test $tdir $tname
> sltime=1
> - for i in `seq 50`; do
> + for i in `seq 10`; do
> test -f $test.out && break
> echo Waiting...
> sleep 0.$sltime
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> http://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list