]> git.ipfire.org Git - thirdparty/lxc.git/commit
tests: Try to make shutdowntest a bit more robust
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 1 Apr 2014 20:38:39 +0000 (16:38 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 2 Apr 2014 14:42:50 +0000 (10:42 -0400)
commitcf0c72d3c53376ceb1f67a19dc73fdc17a69eb09
treea9a57d343f4779f08b4104cd0525780240a16e3a
parent982b59592e494794d5ac3da0c10bf20ebe208f72
tests: Try to make shutdowntest a bit more robust

This should help it run better on slow test environment like the LXC CI
armhf builder.
 - Wait longer for the container to start
 - Wait longer for the container to shutdown
 - On failure to shutdown, kill the container
 - Always destroy the container if it's around

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/tests/shutdowntest.c