This commit is contained in:
Ranjib Dey 2014-02-07 15:00:58 -08:00
commit 74e3cc618b

View file

@ -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)