lib/beaker/hypervisor/docker.rb in beaker-3.17.0 vs lib/beaker/hypervisor/docker.rb in beaker-3.18.0

- old
+ new

@@ -143,10 +143,10 @@ @logger.notify "Cleaning up docker" @hosts.each do |host| if container = host['docker_container'] @logger.debug("stop container #{container.id}") begin - container.stop + container.kill sleep 2 # avoid a race condition where the root FS can't unmount rescue Excon::Errors::ClientError => e @logger.warn("stop of container #{container.id} failed: #{e.response.body}") end @logger.debug("delete container #{container.id}")