bugfix: clean up failed dockerized tests

We need to put those tickets back in the semaphore, otherwise the remaining tests never get executed. doh
This commit is contained in:
Dominik Richter 2016-01-16 18:34:12 +01:00 committed by Stephan Renatus
parent c713a0af87
commit 6cc2575170

View file

@ -52,7 +52,11 @@ class DockerRunner
res = block.call(name, container)
# special rescue block to handle not implemented error
rescue NotImplementedError => err
raise err.message
stop_container(container)
raise err.message + "\n" + err.backtrace.join("\n")
rescue StandardError => err
stop_container(container)
raise err.message + "\n" + err.backtrace.join("\n")
end
# always stop the container
stop_container(container)