[PATCH] zdtm: Don't wait too long for restore
    Cyrill Gorcunov 
    gorcunov at openvz.org
       
    Fri Nov 16 08:39:24 EST 2012
    
    
  
I've been noticed that we wait too much on restore if the test
is failed. Shrink the external sequence 5 times down.
Acked-by: Andrew Vagin <avagin at parallels.com>
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 2ed2c87..5d4882c 100644
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -344,7 +344,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
-- 
1.8.0.1
--M9NhX3UHpAaciwkO--
    
    
More information about the CRIU
mailing list