From: Stéphane Graber Date: Tue, 8 Apr 2014 21:12:00 +0000 (-0400) Subject: tests; Bump wait delay for shutdown to 120s X-Git-Tag: lxc-1.1.0.alpha1~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48356bbfdf8f277c5fe65287d76b7d891ca40964;p=thirdparty%2Flxc.git tests; Bump wait delay for shutdown to 120s On very busy boards with slow IO, the shutdown process can take over 60s as the disk is syncing. Signed-off-by: Stéphane Graber --- diff --git a/src/tests/lxc-test-autostart b/src/tests/lxc-test-autostart index 62fff2608..4aec2bc48 100755 --- a/src/tests/lxc-test-autostart +++ b/src/tests/lxc-test-autostart @@ -73,8 +73,8 @@ lxc-autostart -g lxc-auto-test -r lxc-wait -n $CONTAINER_NAME -t 5 -s RUNNING || (echo "Container didn't restart" && exit 1) # Shut it down -lxc-autostart -g lxc-auto-test -s -lxc-wait -n $CONTAINER_NAME -t 60 -s STOPPED || (echo "Container didn't stop" && exit 1) +lxc-autostart -g lxc-auto-test -s -6 120 +lxc-wait -n $CONTAINER_NAME -t 120 -s STOPPED || (echo "Container didn't stop" && exit 1) # Kill it lxc-autostart -g lxc-auto-test -k