From a7d9379f2b63a40d0cffb447a7a3a3d56281e1cf Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Fri, 7 Feb 2014 14:57:13 -0800 Subject: [PATCH] rescue LXCError is shutdown does not work, so that stop method is reachable --- test/test_lxc_running.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_lxc_running.rb b/test/test_lxc_running.rb index 9e541bf..3e44615 100644 --- a/test/test_lxc_running.rb +++ b/test/test_lxc_running.rb @@ -16,7 +16,7 @@ class TestLXCRunning < Test::Unit::TestCase end def teardown - @container.shutdown(3) + @container.shutdown(3) rescue nil if @container.running? @container.stop @container.wait(:stopped, 3)